[webkit-dev] Adding <main> element to WebCore

James Craig jcraig at apple.com
Thu Nov 29 18:16:03 PST 2012


On Nov 28, 2012, at 12:43 AM, Maciej Stachowiak <mjs at apple.com> wrote:

> role=main can achieve this, but sectioning elements take care of the other landmark roles, and it seems strange to have this be the odd one out. In my own judgment, this outweighs risk of misuse.

I agree.

> On the other hand, this element does not add material functionality over what <section role=main> or <div role=main> would do, so the benefit is fairly small, compared to an element that does something authors couldn't do otherwise.
> 
> (2) The implementation cost is pretty low, so the main consideration is whether this would benefit the Web.

The significant benefit here is that we'll get a lot more more authors using <main> correctly, than we ever will using <div role="main"> and that's a win for the accessibility of the Web as a whole.

James



More information about the webkit-dev mailing list