Open giacomo-petri opened 6 months ago
Might be a duplicate? https://github.com/w3c/aria/issues/1389
While closely related, the focus of #1389 primarily revolves around "implicit presentational roles" (such as <button><h1 aria-label=1></h1></button>
), whereas the current request specifically targets "inherited presentational roles" (<table role="presentation">...</table>
).
As outlined in the "Presentational Roles Conflict Resolution" chapter:
User agents MUST NOT expose elements having explicit or inherited presentational role in the accessibility tree, with these exceptions:
"implicit presentational roles" are beyond the scope (to determine with #1389 if it is expected or not), while "inherited presentational roles" fall within it.
@spectranaut, for simplicity's sake, since this issue is closely linked to #1389, I'm more than happy to add this bit into the other ticket and closing this one. Let me know if it makes sense or if we want to keep these as 2 separate things.
A few notes as a recap before proceeding with the PR:
Therefore, I will restrict the applicability of the 3rd bullet to elements with an explicit presentational role. I will also clearly specify what user agents must do when encountering a global state or property on an element with an inherited presentational role.
Hi @fstrr,
the issue we discussed today is this one: https://github.com/w3c/html-aam/issues/562
@giacomo-petri D'oh! I'll delete the comment here and move it over to the other thread. Thanks :)
In the chapter on Presentational Roles Conflict Resolution, the 3rd bullet states:
Does this also encompass elements with an inherited presentational role? For instance:
Is the third bullet relevant in this context?
I've observed that most browsers don't expose the td with a cell role (which seems reasonable), but perhaps we should clarify that the third bullet pertains solely to "explicit presentational roles."