Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty hyperlinks with a title do not cause a failure to be reported #292

Open
davidsauntson opened this issue Sep 17, 2020 · 0 comments
Open

Comments

@davidsauntson
Copy link

davidsauntson commented Sep 17, 2020

Hyperlinks with no content or child nodes but with a meaningful title attribute do not pass WCAG2.1 2.4.4, since the title attribute alone does not constitute a sufficient method for complying with the standard.

Technique H33 talks about supplementing with a title rather than relying on a title alone.

Testing a link like this: <a href="https://www.github.com" title="Visit GitHub"></a> with HTML_CodeSniffer does not report a failure and it should.

Other testing tools like WAVE do report this as a failure.

I'd be happy to try and take a look at it if you agree. It would be my first contrib!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant