#32968 closed defect (bug) (fixed)
Plugins list table: description header and cells announced as "clickable"
Reported by: | afercia | Owned by: | afercia |
---|---|---|---|
Milestone: | 4.3 | Priority: | normal |
Severity: | normal | Version: | 4.2 |
Component: | Administration | Keywords: | has-patch |
Focuses: | accessibility, javascript | Cc: |
Description
Small thing but it's a bit confusing for screen reader users. Seems it happens just with Firefox + NVDA. When navigating through the Plugins table, the description header and all the description cells get announced as "clickable" elements. See in the screenshot below, where the "NVDA Speech Viewer" reports the text being announced.
As far as I see, there's a delegated click event needed to open the thickbox Plugin details popup that causes this. Simply delegating on the plugin-description
div instead of the table cells fixes this, as the div
doesn't get announced by screen readers.
Attachments (2)
Change History (9)
#3
@
9 years ago
The Details link is not in the .plugin-description
div, looks like it should be .plugin-version-author-uri
.
#4
@
9 years ago
Ops, you're right. Also, the plugin-description
selector missed the leading dot ".". Looks like it worked just because of the default event that thickbox delegates on the body.
The new patch uses .plugin-version-author-uri
btw noticed this way, also in the plugin cards, there are two click events: the one from plugin-install.js and the one from thickbox.js and both will fire when clicking on the details link. Open to suggestions :)
In the proposed patch: