[wp-trac] [WordPress Trac] #33754: Post meta box toggles accessibility improvements
WordPress Trac
noreply at wordpress.org
Sun Sep 6 16:14:37 UTC 2015
#33754: Post meta box toggles accessibility improvements
----------------------------+--------------------------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.4
Component: Administration | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui, accessibility, javascript
----------------------------+--------------------------------------------
Changes (by afercia):
* keywords: => has-patch
Comment:
First pass.
- set proper `aria-expanded` initial attribute value on page load
- toggle the buttons `aria-expanded` also when clicking on the headings
- avoid setting `aria-expanded` on the headings
- add `type="button"` attribute on the buttons, no need for
`preventDefault()`
- remove the title attribute
- maybe better translatable string (paired with the ones used in the
Customizer), open to suggestions
- fix for a [http://community.nvda-project.org/ticket/5247 Firefox + NVDA
bug] as already done in the Customizer
- completely hide the buttons when JS is off
- minor CSS adjustments
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33754#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list