• Resolved AshtonSanders

    (@ashtonsanders)


    We use your plugin, and we’re getting this error on accessibilitychecker

    Critical Issues (1): Here are the failed elements that were found. These are all related to WCAG level AA – the suggested level for organizations.
    #
    Cognitive issue

    Buttons do not have an accessible name

    1. Failing elements
    <button type=”submit” class=”wpr_submit”>
    2. in plain words
    When a button does not have an accessible name, screen readers and other assistive technologies announce it as “button”, which provides no information to users about what the button does.

    #
    3. WHOM DOES THIS AFFECT?
    People who use screen readers, including the blind and visually impaired

    #
    4. HOW TO SOLVE IT:
    Option 1 – Do it yourself:
    For buttons with visible labels, add text content to the button element. Make the label a clear call to action. For example: <button>Book room</button>

    For buttons without visible labels, like icon buttons, use the aria-label attribute to clearly describe the action to anyone using an assistive technology.

  • The topic ‘Accessibility Error’ is closed to new replies.