Skip to content

Improvements for error message #7

@selfthinker

Description

@selfthinker

Under "12. Inaccessible form validation" on the list of accessibility issues, the document says:

Although the error message is clearly visible to sighted users, screen reader users are not informed that this message has appeared.

That is not completely true. Sighted users who zoom in won't see the message, mobile device users won't see the message, and sighted screen reader users will see the message.

I would change that to something like

Although the error message is clearly visible to sighted users in desktop view who don't zoom into the page, screen readers don't announce that message, so users who cannot see will not be informed that this message has appeared.

You might also want to make the experience (deliberately) worse by not scrolling up when there is an error by removing this line (and then also changing the description of that functionality):

$(document).scrollTop(1);

When removing that functionality for sighted users in desktop view who don't zoom into the page, it "only" becomes a usability issue. But it becomes a worse accessibility issue than before (although not a WCAG fail) for screen magnifier users and users who use browser zoom.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions