Wordpress/tests/qunit/fixtures
Andrea Fercia 7834856fcb Accessibility: Ensure embed iframes have a title attribute.
Screen reader users rely on the iframe title attribute to describe the contents of iframes. A meaningful title attribute allows to quickly identify the iframe content, so users can determine which iframe to enter and explore in detail or skip if desired.
Note: this is the only case where a title attribute is required for compliance with the W3C Web Content Accessibility Guidelines (WCAG).

- checks for oEmbed response of type `video` or `rich`
- checks if they use an iframe
- fetches the title (if any) from the oEmbed response
- adds the title to the embed iframe

Props bamadesigner, TomHarrigan, swissspidy, jrf, afercia.
Fixes #40245.


git-svn-id: https://develop.svn.wordpress.org/trunk@44942 602fd350-edb4-49c9-b593-d223f7449a82
2019-03-20 17:21:56 +00:00
..
customize-header.js Add PHP and JS unit tests for custom headers. 2014-03-29 10:05:22 +00:00
customize-menus.js Administration: Improve the usage of the button CSS classes. 2016-09-28 19:53:07 +00:00
customize-settings.js Customize: Add changeset locking in Customizer to prevent users from overriding each other's changes. 2017-10-12 04:00:15 +00:00
customize-widgets.js Customize: Improve i18n for strings in hidden widget area notices. 2017-03-24 22:02:02 +00:00
js-widgets-endpoint.js REST API: JS client - QUnit tests for custom namespace route discovery. 2017-02-24 18:39:39 +00:00
updates.js Update/Install: Give context to "Deleted! string to allow for differentiation between theme and plugin translations. 2017-01-31 09:58:49 +00:00
wp-api-generated.js Accessibility: Ensure embed iframes have a title attribute. 2019-03-20 17:21:56 +00:00
wp-api.js WP-API JS Client: Interpret Settings resource as a model. 2017-07-20 20:25:28 +00:00