Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is indeed helpful. Thanks! I get often confused by the other semantic tags like article, section etc


As far as I'm aware, article and section don't do anything for screen readers. Someone please correct me if I'm wrong on that.

On the other hand, nav and banner (among others) are types of landmarks. It's nice to have those, but the one that screen reader users will want all the time is main.


Does it have to be role=main to support all screen readers, or these days do they generally support http://html5doctor.com/the-main-element/ ?


I believe `<main>` is not supported in IE11 - here is a resource that you can use to check HTML5 accessibility compatibility: https://www.html5accessibility.com/

The tricky thing about when you're talking about screen readers is that you now have to take into account browser support AND screen reader support, which can sometimes multiply the amount of test cases for things.


These days they generally support the main element.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: