murraybiscuit
Executive Member
i've come across <div role="main"> and various other similar "role" markups in various popular html templates. sometimes the property is "navigation" sometimes it's "sitemap". it seems to be whatever you want it to be...
googling it just leads me to a somewhat defunct xhtml reference in the html spec and aria roles, which don't specify any of these properties.
why do people put this code in their templates? is there some kind of useful reference to properties which ARE actutually supported by screen readers / accessibility engines? i'm happy to use semantics it if it gives greater usability, but it just seems like hipster markup to me...
googling it just leads me to a somewhat defunct xhtml reference in the html spec and aria roles, which don't specify any of these properties.
why do people put this code in their templates? is there some kind of useful reference to properties which ARE actutually supported by screen readers / accessibility engines? i'm happy to use semantics it if it gives greater usability, but it just seems like hipster markup to me...
Last edited: