Go to file
Andrea Fercia 1258d1d9d2 Accessibility: use aria-current for the paginated post links output by wp_link_pages().
Continues the introduction in core of the aria-current attribute after [41683], [41359], and [41371].

- changes the `wp_link_pages()` (see the `nextpage` quicktag) output to use an `aria-current` attribute on the current item
- adds `post-nav-links` and `post-page-numbers` CSS classes to help themes style these links
- updates the related tests

Props antonioeatgoat, alexstine.
Fixes #41859.


git-svn-id: https://develop.svn.wordpress.org/trunk@42440 602fd350-edb4-49c9-b593-d223f7449a82
2018-01-12 20:16:56 +00:00
src Accessibility: use aria-current for the paginated post links output by wp_link_pages(). 2018-01-12 20:16:56 +00:00
tests Accessibility: use aria-current for the paginated post links output by wp_link_pages(). 2018-01-12 20:16:56 +00:00
tools/i18n Remove the svn:executable property from files that don't need it. 2017-11-17 02:57:27 +00:00
.editorconfig General: Remove .jshintrc and *.json from the 2-space-indent .editorconfig group. 2017-10-12 01:57:45 +00:00
.gitignore Build/Test Tools: Instruct Git and Subversion to ignore Composer's vendor directory. 2017-12-16 13:37:15 +00:00
.jshintrc General: Remove .jshintrc and *.json from the 2-space-indent .editorconfig group. 2017-10-12 01:57:45 +00:00
.travis.yml Build/Test tools: Remove PHP 7.2 from the allowed failures list on Travis CI. 2017-10-04 19:53:07 +00:00
Gruntfile.js Media: Add missing mediaelement-migrate.js script to get uglified. 2017-10-18 02:25:06 +00:00
jsdoc.conf.json Docs: Improve wp-admin JSDoc structural data globally. 2017-12-15 13:41:56 +00:00
package.json Trunk is now 5.0-alpha 2017-11-07 05:46:41 +00:00
phpcs.xml.dist Coding Standards: Add the phpcs.xml.dist file. 2017-12-01 03:40:04 +00:00
phpunit.xml.dist Tests: Rename ignored tests in phpunit.xml.dist. 2017-08-18 10:26:50 +00:00
webpack.config.dev.js Build: Webpack instead of Browserify as JavaScript bundler. 2017-10-04 21:00:15 +00:00
webpack.config.prod.js Build: Webpack instead of Browserify as JavaScript bundler. 2017-10-04 21:00:15 +00:00
wp-cli.yml
wp-config-sample.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wp-tests-config-sample.php Code is Poetry. 2017-11-30 23:09:33 +00:00