[wp-trac] [WordPress Trac] #37013: Minor Fixes: "Toggle indicator" in pages have focus color while the same in widgets/menus have none.
WordPress Trac
noreply at wordpress.org
Wed Sep 27 07:11:35 UTC 2017
#37013: Minor Fixes: "Toggle indicator" in pages have focus color while the same in
widgets/menus have none.
-------------------------------------------------+-------------------------
Reporter: monikarao | Owner: afercia
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.9
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: has-patch has-screenshots needs- | Focuses: ui,
testing | accessibility
-------------------------------------------------+-------------------------
Comment (by afercia):
I think the best path to help this ticket move on is splitting the changes
in the widgets screen from the ones in the menus screen.
Menus screen: `do_accordion_sections()' is something that plugins may use
too, and any change there should be carefully considered; will split this
part in a new ticked.
Widgets screen: there are a few more things to take into considerations.
For example, when there are more than on sidebar, only the first one is
open by default and the other ones are closed:
[[Image(https://cldup.com/XgAM7qmVNW.png)]]
Thus, the `aria-expanded` attribute on the toggle buttons must be updated
on page load accordingly. When dragging a widget from one sidebar to
another sidebar, the related panels open and close: also in this case,
`aria-expanded` needs to be updated accordingly. Basically every time the
sidebar containers `closed` CSS class gets added/removed, the `aria-
expanded` attribute needs to be updated to reflect the container
expanded/collapsed state.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37013#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list