Halloween Sale 15% off Ends in See the plans

Snippet Library

Accessibility snippets for WordPress

Snippets that make WordPress easier for everyone to use: skip links, focus styles, better link text and fixes for common accessibility issues. For site owners who want a site that works with keyboards and screen readers.

1–6 of 6 snippets “readability”

  • PHP Accessibility

    "In Short" Plain-Language Summary Above Posts

    Shows the post's excerpt in a highlighted "In short" box at the top of single posts, giving every reader, including people with reading or cognitive disabilities, a simple summary before the full text.

  • CSS Accessibility

    Comfortable Line Length for Reading

    Limits paragraphs, lists and quotes in posts to about 75 characters per line, the width recommended for readability, while wide blocks such as images and tables keep the full width.

  • PHP Accessibility

    Text Size Buttons Shortcode

    Adds a [text_size_controls] shortcode with "A-", "A" and "A+" buttons that make the whole site's text smaller or larger for that visitor, remembered on their device.

  • PHP Accessibility

    Text Spacing Toggle for Easier Reading

    Adds a [text_spacing_toggle] shortcode button that increases line height, letter and word spacing to the levels recommended by WCAG, which helps readers with dyslexia or low vision.

Have a snippet worth sharing?

Publish it to the library from WPIDE or right here. Sign in with any WordPress site that runs WPIDE, free or Pro. Public snippets are reviewed by the WPIDE team before they appear.