WordPress/wp-includes/js
Andrea Fercia 1f3d583825 Accessibility: Media: Improve the search media field labelling.
Visible `<label>` elements benefit all users. The `placeholder` attribute should not be used as a replacement for visible labels.
Instead, it's supposed to be used only for a short hint to aid users with data entry e.g. a sample value or a brief description of the expected format.

Screen readers may not announce a `placeholder` attribute at all. Other users may suffer from the lack of a visible label and a placeholder used as replacement, for example:

- users with cognitive disabilities may have trouble remembering what the filled field does
- speech recognition users cannot see the name they can speak to set focus on the field
- low-vision users with high text-size may not be able to see the whole placeholder even when it's visible, if its value is clipped by the edge of the input

Props anevins, audrasjb, karmatosed, azaozz, SergeyBiryukov, afercia.
See #40331.
Fixes #47138.

Built from https://develop.svn.wordpress.org/trunk@46418


git-svn-id: http://core.svn.wordpress.org/trunk@46216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-07 12:43:03 +00:00
..
codemirror
crop
dist Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
imgareaselect Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
jcrop
jquery Build/Test: Update Grunt Uglify options 2019-10-05 22:01:04 +00:00
mediaelement Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
plupload Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
swfupload
thickbox
tinymce Build/Test: Update Grunt Uglify options 2019-10-05 22:01:04 +00:00
admin-bar.js
admin-bar.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
api-request.js
api-request.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
autosave.js
autosave.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
backbone.js External Libraries: Update Backbone.js to 1.4.0. 2019-09-17 17:19:54 +00:00
backbone.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
clipboard.js Site Health: Improve the "Copy to clipboard" button. 2019-03-27 22:31:52 +00:00
clipboard.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
colorpicker.js
colorpicker.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
comment-reply.js Coding Standards: Fix JSHint error in [45790]. 2019-08-14 00:02:55 +00:00
comment-reply.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
customize-base.js
customize-base.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
customize-loader.js
customize-loader.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
customize-models.js
customize-models.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
customize-preview-nav-menus.js
customize-preview-nav-menus.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
customize-preview-widgets.js
customize-preview-widgets.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
customize-preview.js Customiser: Prevent JS errors when previewing pages with an `<area>` tag. 2019-01-21 23:03:50 +00:00
customize-preview.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
customize-selective-refresh.js
customize-selective-refresh.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
customize-views.js
customize-views.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
heartbeat.js Block Editor: Refresh nonces used by `wp.apiFetch`. 2018-12-17 19:28:51 +00:00
heartbeat.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
hoverIntent.js
hoverIntent.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
imagesloaded.min.js
json2.js
json2.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
masonry.min.js
mce-view.js TinyMCE: fix adding of too many undo levels for wpviews. The HTML changes several times when a wpview is added. We only want one undo level. Also fixes cases when the cursor is next to an embeddable URL in the Text tab and the user switches to the Visual tab. 2019-07-12 03:25:55 +00:00
mce-view.min.js Build/Test: Update Grunt Uglify options 2019-10-05 22:01:04 +00:00
media-audiovideo.js External Libraries: Update Backbone.js to 1.4.0. 2019-09-17 17:19:54 +00:00
media-audiovideo.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
media-editor.js
media-editor.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
media-grid.js Accessibility: Media: Improve the search media field labelling. 2019-10-07 12:43:03 +00:00
media-grid.min.js Accessibility: Media: Improve the search media field labelling. 2019-10-07 12:43:03 +00:00
media-models.js Accessibility: Media: Make screen readers announce the Media search results. 2019-09-23 12:19:56 +00:00
media-models.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
media-views.js Accessibility: Media: Improve the search media field labelling. 2019-10-07 12:43:03 +00:00
media-views.min.js Accessibility: Media: Improve the search media field labelling. 2019-10-07 12:43:03 +00:00
quicktags.js
quicktags.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
shortcode.js
shortcode.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
twemoji.js Emoji: Upgrade Twemoji to 12.1.2. 2019-08-08 04:05:55 +00:00
twemoji.min.js Build/Test: Update Grunt Uglify options 2019-10-05 22:01:04 +00:00
underscore.js External Libraries: Revert [46092] pending test failure investigation. 2019-09-12 10:19:59 +00:00
underscore.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
utils.js
utils.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-ajax-response.js
wp-ajax-response.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-api.js
wp-api.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-auth-check.js
wp-auth-check.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-backbone.js
wp-backbone.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-custom-header.js
wp-custom-header.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-embed-template.js
wp-embed-template.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-embed.js
wp-embed.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-emoji-loader.js Emoji: Upgrade Twemoji to 12.1.2. 2019-08-08 04:05:55 +00:00
wp-emoji-loader.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-emoji-release.min.js Build/Test: Update Grunt Uglify options 2019-10-05 22:01:04 +00:00
wp-emoji.js Emoji: Revert [46393] pending test failure investigation. 2019-10-05 01:01:00 +00:00
wp-emoji.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-list-revisions.js
wp-list-revisions.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-lists.js
wp-lists.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-pointer.js
wp-pointer.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-sanitize.js Update wp.a11y.speak() to sanitize HTML before display. 2019-09-04 17:13:21 +00:00
wp-sanitize.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wp-util.js
wp-util.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wpdialog.js
wpdialog.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
wplink.js TinyMCE Classic Block: Remove unused variable. 2019-01-26 12:59:49 +00:00
wplink.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
zxcvbn-async.js
zxcvbn-async.min.js Build/Test: Bump devDependencies for WordPress 5.3 2019-10-05 19:49:10 +00:00
zxcvbn.min.js External Libraries: zxcvbn library. 2018-12-20 21:03:49 +00:00