[wp-trac] [WordPress Trac] #25103: Submit buttons on form fields in the Add Media panel
WordPress Trac
noreply at wordpress.org
Sun Jun 7 15:09:07 UTC 2015
#25103: Submit buttons on form fields in the Add Media panel
--------------------------+--------------------------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: ui, accessibility, javascript
--------------------------+--------------------------------------------
Changes (by afercia):
* focuses: accessibility => ui, accessibility, javascript
Comment:
See screenshot below for reference. Applies also the Media Library in grid
mode.
'''About the filter selects:'''
see @helen [ticket:30333#comment:5 comment on ticket 30333]:
> typically, this kind of navigation is disruptive when navigating via
keyboard. The full page refresh means that focus and place are lost.
Please notice the change proposed in that ticket was then reverted in
r31692.
Also, for reference:
https://developer.mozilla.org/en-US/docs/Web/Events/change
> Different browsers do not always agree whether a change event should be
fired for certain types of interaction. For example, keyboard navigation
in `<select>` elements never fires a change event in Gecko until the user
hits Enter or switches the focus away from the `<select>`
From an accessibility point of view, these selects shouldn't submit on
change and they would need a button. Not to mention the different behavior
in Gecko, Webkit, Trident.
'''About the search input:'''
See #31818 and also what was implemented in #26600 using `wp.a11y.speak`
to at least announce to assistive technologies the search results.
[[Image(https://cldup.com/BIGAzLw3us.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25103#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list