[wp-trac] [WordPress Trac] #43151: Media widgets shouldn't use a clickable div as an UI control
WordPress Trac
noreply at wordpress.org
Tue Mar 5 17:49:07 UTC 2019
#43151: Media widgets shouldn't use a clickable div as an UI control
-------------------------------------+-------------------------------------
Reporter: afercia | Owner: afercia
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.2
Component: Widgets | Version: 4.8
Severity: normal | Resolution: fixed
Keywords: has-screenshots has- | Focuses: ui, accessibility,
patch | javascript
-------------------------------------+-------------------------------------
Changes (by afercia):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"44796" 44796]:
{{{
#!CommitTicketReference repository="" revision="44796"
Accessibility: Replace media placeholder clickable divs with buttons.
`<button>` elements are natively interactive, supported by any assistive
technology, and must be used instead of non-semantic, non-accessible
`<div>` elements.
Also, this change aligns the Media Widgets and the Customizer site icon
and site logo controls with the design pattern used in the new Block
Editor for similar controls.
Props ramonopoly, welcher, afercia.
Fixes #43151.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43151#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list