DEV Community

Discussion on: Headless-UI "Fully Accessible" - it's not your fault you believe the 💩 BS 💩 [accessibility rants]

Collapse
 
grahamthedev profile image
GrahamTheDev • Edited

You are a brave one linking to projects after I just ranted about someone else's 😉🤣 (your nav examples should be in an <nav><ul><li><a> pattern, your headers should not go <h2><h1>, instead you should wrap two spans in a <h1> and style the spans to achieve the small text big text effect, your alerts need aria etc. Sorry I couldn't resist 😋)

Always great to have more people getting interested in accessibility, keep going, it just takes time to learn, just follow the golden rule - if an HTML element exists that serves your needs then start with that! Follow that one thing and you will be 90% of the way there!

And if you get stuck on something after you learn about something new you need to adjust, just shout, more than happy to help! Good luck with the project(s)!