[wp-trac] [WordPress Trac] #41612: "URL" field in Media Modal confusing for newer users
WordPress Trac
noreply at wordpress.org
Fri Mar 15 10:42:41 UTC 2019
#41612: "URL" field in Media Modal confusing for newer users
----------------------------------------------+----------------------------
Reporter: melchoyce | Owner: audrasjb
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.2
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: has-screenshots has-patch commit | Focuses: ui,
| accessibility
----------------------------------------------+----------------------------
Changes (by afercia):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"44900" 44900]:
{{{
#!CommitTicketReference repository="" revision="44900"
Accessibility: improve the "URL" and "Alt text" fields in the media
modals.
Many users found the attachment URL field confusing: it says "URL" so it
may appear like a field meant to paste a URL into.
Also, the Alt text field is the most important one in terms of content,
while the Title field needs to be de-emphasized.
- changes the URL field label to "Copy link"
- moves the alt text field to the top as first field
- avoids to set initial focus on the alt text field
- adds an explanatory text with a link pointing to the W3C "alt decision
tree" tutorial
- adds `aria-describedby` to target the explanatory text
- adjusts the CSS accordingly
- updates the QUnit index.html file
Props melchoyce, audrasjb, afercia.
Fixes #41612.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41612#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list