WP Accessibility

Wordpress Plugin
Download latest - 2.0.1

Developers

joedolson

Download Stats

Today 257
Yesterday 404
Last Week 1,518
All Time 196,828
Banner 772x250

This plug-in helps with a variety of common accessibility problems in WordPress themes. While most accessibility issues can't be addressed without directly changing your theme, WP Accessibility adds a number of helpful accessibility features with a minimum amount of setup or expert knowledge.

WP Accessibility is not intended to make your site compatible with any accessibility guidelines.

All features can be disabled according to your theme's needs. For advanced users, all of the functions based on modifying stylesheets can be customized using your own custom styles by placing the appropriate stylesheet in your theme directory.

Theme Accessibility Features added by WP Accessibility

These are features that address issues caused by inaccessible themes.

  • Add skip links with user-defined targets. (Customizable targets and appearance.)
  • Add language and text direction attributes to your HTML attribute if missing.
  • Add an outline to the keyboard focus state for focusable elements.
  • Add a long description to images. Use the image's "Description" field to add long descriptions.
  • Enforcement for alt attributes on images in the Classic editor.
  • Identify images without alt attributes in the Media Library
  • Add labels to standard WordPress form fields (search, comments)
  • Add post titles to "read more" links.
  • Remove tabindex from elements that are focusable. (Also fixes plugin-caused problems.)
  • Remove user-scalable=no to allow resizing.

WordPress Core Accessibility Issues fixed by WP Accessibility

These are features that address issues caused by current or past WordPress core accessibility issues. (Issues added in content, such as target or title attributes, are persistent even when WordPress is updated.)

  • Force a search page error when a search is made with an empty text string. (If your theme has a search.php template.)
  • Remove redundant title attributes from tag clouds.
  • Disable default enabling of full screen block editor.

Content specific fixes:

  • Strip title attributes from images inserted into content.
  • Remove the target attribute from links.

Accessibility Tools in WP Accessibility:

These are tools provided to help you identify issues you may need to fix.

  • Test the color contrast between two provided hexadecimal color values.
  • Enable diagnostic CSS to show CSS-detectable problems in visual editor or on front-end of site.
  • Search your media library on content in alt text fields.

Learn more! Read about the accessibility issues corrected by WP Accessibility!

The plug-in is intended to help with deficiencies commonly found in themes and to solve some issues in WordPress core. It can't correct every problem (by a long shot), but provides tools to fix some issues, supplement the accessibility of your site, or identify problems.

Contribute!

  • Help Translate WP Accessibility
  • Contribute to WP Accessibility

Releases (45 )

Version Release Date Change Log
2.0.1 2022-12-12
  • Add .et_smooth_scroll_disabled to skip links to override Divi's inaccessible smooth scrolling.
  • Add promotional affiliate links for Equalize Digital's Accessibility Checker
2.0.0 2022-11-06
  • New feature: Show alt attributes toggle on content images.
  • New feature: Ensure users can adjust scale even if maximum-scale set to 1.0.
  • New feature: Alt enforcement indicators now present in block editor.
  • New feature: Flag missing captions or subtitles in uploaded videos in editor.
  • Updated feature: Remove title attributes now more intelligent.
  • Updated feature: Modernized alt attribute enforcement tools.
  • Change: Combine remediation scripting in wp-accessibility.js.
  • Change: Disable accessibility-ready duplicating features if theme changed to accessibility-ready.
  • Bug fix: aria-expanded missing in some cases for longdesc disclosures.
  • Bug fix: Main JS file did not have a version number.
  • Bug fix: Run feature JS after running remediation JS.
  • Bug fix: Fix DOM ordering with image disclosure buttons.
  • Retired language directory call. Translation files haven't been updated since version Oct 2014.
1.9.2 2022-09-27
  • Bug fix: Alignment classes should only apply when wpa-ld class present.
  • Bug fix: Escape widget title content.
  • Bug fix: Set cookies with SameSite
1.9.1 2022-06-29
  • Bug fix: Duplicate skiplink styles: if custom styles used, default settings could be appended to them as a duplicate.
  • Filters: Add filters to configure deprecated skiplinks if necessary.
  • Show default CSS when enabled for reference.
1.9.0 2022-06-25
  • Update: Significant reorganization of settings.
  • Feature: Create & prepend simplified content summaries.
  • Feature: Raise warning on long alt text.
  • Feature: Generate color contrast via GET to make bookmarkable.
  • Increase boldness of automatic focus outline.
  • Set default focus outline color.
  • Use wp_add_inline_styles for customizable CSS.
  • Update automatic link underlines to skip nav elements.
  • Bug fix: some incorrect textdomains.
  • Bug fix: toolbar tooltips should be dismissable without changing focus or hover. Support esc key.
  • Bug fix: Incorrect variable passed to color contrast, causing incorrect values.
  • Auto generation of hook documentation: https://joedolson.github.io/wp-accessibility/
1.8.1 2022-05-25
  • Update: Fix accessibility issues in longdesc disclosure button.
  • Add: style variations on longdesc disclosure to adjust position. (.top-left, .top-right, .bottom-right)
  • Update tested to for WP 6.0.
1.8.0 2022-05-15
  • Update: tabindex check should not remove tabindex on a elements without href.
  • Update: check for the button role on elements that are not focusable and add tabindex.
  • Update: Larger longdesc button.
  • Update admin script & css enqueuing.
  • Change color picker.
  • Make admin responsive.
  • Admin text updates.
  • Return false for accessible theme test if Oxygen Builder active.
1.7.14 2022-02-02
  • Bug fix: incorrectly called variable broke responsive toolbar.
1.7.13 2022-01-28
  • Bug fix: empty space in toolbar attachment point field created uncaught exception in JS.
1.7.7 2021-03-17
  • Bug fix: Correct usage of wp_localize_script arguments.
  • Change: Modernization of CSS for toolbar.
  • Change: Add outline offset for forced focus states.
  • Change: Tweaks for font resizing stylesheets.
1.7.6 2021-01-10
  • Bug fix: Broken class array query in longdesc.
1.7.5 2020-12-17
  • Bug fix: register_block_style only exists since WP 5.3; check function exists first.
1.7.4 2020-12-16
  • Change: mark   as an invalid alt value.
  • Remove .hndle class on admin headings.
  • Fix jQuery incompatibility due to deprecated .toggle() event handler.
  • Add support for long description in the block editor.
1.7.3 2020-09-02
  • Bug fix: script registration/enqueuing mis-ordered, breaking toolbar.
1.7.2 2020-08-31
  • Add style to div.aligncenter to control width
1.7.1 2020-04-20
  • Bump tested to value.
1.7.0 2019-12-26
  • Add: test for specific common types of invalid alt attribute and label as invalid.
  • Change: Remove webkit skiplink polyfill (obsolete)
  • Change: Move toolbar JS to external file.
  • Change: Use wp inline style method for toolbar size.
  • Bug fix: Incorrect variable type matching in toolbar size setting.
  • Security: Minor authenticated XSS vulnerability in custom CSS.
1.6.10 2019-05-28
  • Based on support for screen-reader-text class and current support for aria-current, shifting to aria only.
1.6.9 2019-05-26
  • Different JS for aria-current; previous version could only work on a single element, not a collection.
1.6.7 2019-03-17
  • Bug fix: error in generated CSS for skiplinks
1.6.6 2019-03-04
  • Per request, remove font sizing declaration for skip links. Inherit from site.
  • Add default styles for visible skiplinks, rather than allowing to be unstyled.
  • Remove tabindex application on section element from toolbar JS. (Not sure why it was there anyway.)
  • Bug fix: automatic labeling injected double labels on fields with no ID and an implicit label.
1.6.5 2019-01-31
  • Bug fix: Widget output should not be styled.
  • Bug fix: Remove duplicated (current) when both current-menu-item and -page-item present (props loopRW)
1.6.4 2018-08-10
  • Bug fix: Do not render longdesc UI when no longdesc provided.
1.6.3 2018-04-12
  • Bug fix: incorrect function name
  • Bug fix: don't use POST data directly when value is known
1.6.2 2018-03-29
  • Removed 'ScrollTo' JS.
  • Changed toolbar font size setting from em to px for predictability.
  • Updated 'diagnostic.css' to latest version.
  • Removed 'create_function' for PHP 7.2 compatibility.
  • Removed 'extract'
  • Code updated to conform to WordPress PHP standards
  • Code restructuring.
1.6.1 2017-11-18
  • Fixed changelog, which read 1.5.11 instead of 1.6.0
  • Fixed logic in widget version of toolbar so wouldn't use buttons unless requested
  • Update 'tested to' version.
1.6.0 2017-04-27
1.5.10 2017-01-17
  • Disable Toolbar on Edge due to page not found bug.
  • Modifications to toolbar JS
  • Remove title attribute settings remove attributes no longer being produced.
  • Some code clean up and restructuring.
1.5.9 2016-12-19
  • Bug fix: another swapped options check, elsewhere. Sigh.
1.5.8 2016-12-10
  • Bug fix: swapped options check for fontsize & contrast toggles
  • Compatibility checked with 4.7
1.5.7 2016-11-29
  • Remove menu role from toolbar
  • Fixed toolbar button font size adjustment
  • Updated screen reader text class to include clip-path and whitespace
  • Minor toolbar design tweaks
  • Removed WordPress admin stylesheet (obsolete)
  • Misc display fixes in settings
  • Remove 'Access Monitor' admin notice
  • Bug fix: Missing space in featured img HTML
  • Bug fix: Switch main heading to H1
1.5.6 2016-08-22
  • Feature: Add support for longdesc in featured images.
  • Feature: Option to enable only a single element in toolbar
1.5.0 2016-01-23
  • Updated toolbar fonts
  • Updated toolbar to use
  • Improved fontsize increase default CSS. Most themes will still benefit from custom styles.
  • Added option to place toolbar on right side of screen.
  • Update load method for text domain
  • WP A11y recent posts widget removed.
1.4.6 2015-11-05
  • Bug fix: Don't create a duplicate ID when multiple longdesc attributes used on one page
1.4.0 2015-03-23
  • Added enforcement tools for alt attribute usage in images.
  • Media lists indicate whether an image is marked as decorative, has an alt attribute, or needs an alt attribute.
  • Media editor shows checkbox to mark as decorative when editing image media types.
  • If an image is inserted into a post without either being marked as decorative or having an alt attribute provided, HTML will also insert a notice indicating that the image needs an alt attribute.
  • If an image is inserted and is checked as decorative, the alt attribute will be set to an empty value.
  • Language update: Spanish
1.3.11 2015-01-29
  • Bug fix: Longdesc styles not automatically enabled with longdesc options.
  • Added detection for whether current theme is accessibility-ready
  • Disabled some options if current theme is accessibility-ready.
  • Added notice to inform users about Access Monitor
  • Language add: Portuguese (Brazil)
  • Language update: German
1.3.0 2014-03-25
  • Add long description support. Requested by John Foliot; based on http://wordpress.org/plugins/long-description-for-image-attachments/
1.2.9 2014-03-06
  • Bug fix: :focus states for skiplinks broken in 1.2.8.
  • Bug fix: WP Accessibility admin color issue in WP 3.8+
  • Auto-hide grayscale in Firefox even if enabled. See: https://gist.github.com/amandavisconti/8455507
  • Made accessibility toolbar available via widget or shortcode [wpa_toolbar]
  • Add Language: Romanian, by Adrian Tamasan
  • Updated language: Dutch
1.2.8 2014-02-08
  • Bug fix: support for languages with right-to-left reading order.
1.2.7 2013-12-23
  • For 3.8, eliminate outdated title attribute filters. (nav menus, page lists, edit post links, edit comment links, category links)
  • Add Dutch translation by Rian Rietveld
1.2.6 2013-11-01
  • Truly hides grayscale option, not dependent on CSS.
  • Eliminates in-page anchor focusing, due to conflicts with plug-ins that attach scripts to links with hashes.
  • Remove row action visibility from default admin stylesheet, due to 3.7 changes making those links keyboard accessible.
  • Added row actions always visible option.
1.2.5 2013-09-21
  • Added Spanish translation.
  • Added incomplete Finnish translation.
  • Updated French translation.
  • Bug fix: WP Accessibility disabled ability to use theme styles in TinyMCE editor.
1.2.4.1 2013-09-03
1.2.3 2013-07-15
  • Updated jQuery ScrollTo to version 1.4.5 to resolve JS conflict.
  • Updated method of accessing $ in jQuery.
  • Added CDATA blocks so WP Accessibility doesn't prevent validation as XML.
  • Added Italian translation, courtesy of Roberto Scano.
1.0.0 2012-10-22
  • Initial release!

=