[wp-trac] [WordPress Trac] #26504: Semantic elements for non-link links
WordPress Trac
noreply at wordpress.org
Thu May 11 23:50:03 UTC 2017
#26504: Semantic elements for non-link links
-------------------------------------+-------------------------------------
Reporter: GaryJ | Owner:
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Administration | Version: 3.8
Severity: normal | Resolution:
Keywords: has-patch semantic- | Focuses: ui, accessibility,
buttons a11y-task | javascript
-------------------------------------+-------------------------------------
Comment (by afercia):
In [changeset:"40646"]:
{{{
#!CommitTicketReference repository="" revision="40646"
Accessibility: Change the "Show details" links in the update core screen
to buttons.
These controls toggle the visibility of the update progress: they perform
an action
therefore they should be buttons. Also:
- uses `aria-expanded` to communicate the toggle button state
- removes some inline JavaScript
- when clicking the toggle buttons, the progress details get moved with
JavaScript after the button: this helps users of assistive technologies in
finding them and makes the UI a bit more intuitive
Props Cheffheid, afercia.
See #26504.
Fixes #40453.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26504#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list