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
Link to potentially non-accessible document/app #109
Comments
I love this idea for a feature! 👍 |
Based on the WAVE-WCAG Mappings, there are a few things that could be added to Checka11y.css as they can be detected via CSS: Errors:
Warnings:
Each of them would need a ticket if you decide to go for them. |
Not an bad idea for a feature, but maybe this could be a lower severity level than a warning. Maybe advice or tip or similar? For example:
or
What do you think? |
I'm not too sure. I feel I think for now keep it as just |
Personally, I find the warning a bit "excessive" (it is not for the actual page, but for the linked element). It would make sense to have it as a tip/advice, but as that's not available, a warning should do (if added). |
Hi 👋 @jackdomleo7 (p.s. great work on this project btw!) If there isn't anyone already assigned to this, I'm happy to take it. I spun up a CodePen demo to assist in my testing before making changes in the source. |
Hey @tannerdolby, of course! Thank you. |
Your welcome @jackdomleo7! Thanks for setting up a clear process for contributing, this project is such a gem. |
I appreciate the feedback. From what I've seen, this project is very easy for first-timers to contribute to - no one has had any issues which is great 😁 |
Describe the new a11y feature or project enhancement
This is not an a11y mistake by itself, but it is something that I've seen in most accessibility checkers: showing a warning when there's a link to a Word, Excel, PowerPoint, or PDF document. Also, when there's a link to Youtube (because captioning is often missing or not well generated).
Those documents often have accessibility issues and need to be created with accessibility in mind. Also, they may be loaded on the browser, but they require plugins/extensions that can create navigation difficulties.
Describe the solution you'd like
Show a warning about potential accessibility issues when:
This can be done in CSS by checking the end of the URL looking for certain extensions (".pdf", ".doc", ".docx", ".xls", etc.), or the beginning of the URL looking for Youtube addresses ("https://youtu.be", "https://youtube.com", etc.)
Link(s)
The text was updated successfully, but these errors were encountered: