Skip to content

A11y and being a good citizen of the web #374

@Rich-Harris

Description

@Rich-Harris

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 the alt 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions