-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
A11y and being a good citizen of the web #374
Comments
Could you add a [Help Wanted]? I've learned a few bits on a11y (and i18n), so I can give some tipps/resources. Ping me if you're about to learn more (preferably a few days in advance). |
done |
IIRC @Rich-Harris is from U.K. In this case the work of Home Office could be a good first high-level entrance (it happens to be on GitHub as well). Technically those checks come to my mind:
About the There are some automated A11Y testing tools out there already, but you can't rely on them alone. Does Svelte offer a way for those tool to take part in the compilation process to run their checks? |
We could inherit a lot of the features these linters and tools provide, most of them list validation rules. Linters: Testing tools: On web components (all about being able to navigate web component via keyboard. useful into for the svelete custom element plugin) On vdom: |
The first thing that comes to mind for me is interactive functionality on elements that aren't interactive by default and where the author hasn't done anything to make it accessible with ARIA etc. For example, if there is a |
Thanks for all the really helpful pointers everyone. The best plan of action seems to be to implement versions of the checks in https://github.com/evcohen/eslint-plugin-jsx-a11y (thanks @Rayraegah) — I made a solid start in #815 and have opened #820 for all the rest, so I'll close this. |
Sounds like an opinion.
How even this is related to A11Y? Also, no one uses
Why you're playing the good guy here? Let's just use the empty
I don't believe how this got 3 likes when everything about it was wrong, and how everything described is implemented😐 This isn't how it works these days😅 I HOPE I WASN'T TOO MEAN TO YOU😄🌸 |
Just a thought I wanted to get down in writing before I forget — something to consider in the near future.
Personal confession: I suck at a11y. I have 20/20 vision, no colour blindness, good hearing, and no disabilities. Because of that I'm bad at remembering to write accessible markup — the non-accessible web seems fine to me.
Svelte could help me with that, because of what it is and how it works. For example it could yell at me if I add an
<img>
tag and forget thealt
attribute, and it could do all that at compile time. I don't think it should be an error, because then it will just get in the way of rapid prototyping and drive people mad, but it would be useful to get a printout of accessibility hints when a component is compiled, for example.We can help educate developers about a11y and make a strong statement about the kind of web we want to be a part of — I think we should.
The text was updated successfully, but these errors were encountered: