w3c / html-aria

ARIA in HTML
https://w3c.github.io/html-aria/
Other
178 stars 48 forks source link

Test and mention some user-agents that have an implicit role for <summary> #484

Closed Brian-Pob closed 10 months ago

Brian-Pob commented 10 months ago

This issue in the MDN Web Docs https://github.com/mdn/content/issues/28446 mentions that Chrome browsers use generic as the implicit role while Firefox uses summary as the implicit role.

It might be worth mentioning in the NOTE for the summary element the behavior of a few of the most popular browsers.

CleanShot 2023-08-16 at 04 03 06 CleanShot 2023-08-16 at 04 01 06

P.S. My apologies if user-agent/browser-specific details are not allowed in the official specs. I am new to this.

Thank you

scottaohara commented 10 months ago

hi @Brian-Pob

thanks for the heads up, i'm going to respond in more detail over on the MDN issue. But yeh, this sort of information doesn't belong here. This spec doesnt even actually normatively define the role for HTML elements. That happens in the HTML AAM spec (linked to for each element in this spec) - and there too that's for how the browser engines are supposed to map the element. that spec would not get into the individual browser support, as that's not the point of the spec.

Brian-Pob commented 10 months ago

Understood. Thanks for the extra information!