Discrepancy with supported roles for aria-selected.

Hi,
This came up today, and I'm not sure if it was ever decided one way or the other.

Should aria-selected be supported on equivalent native elements that match the implicit role, or denied?

We already have a precedent for doing this with aria-pressed on the native button element plus others, but this one seems to be more complicated.

E.G. The following does not work.

<table>
<tr><th>Column Name</th></tr>
<tr aria-selected="true"><td>Cell Content</td></tr>
</table>

However, the following does work. (Confirmed in the latest version of Chrome Beta.)

<table>
<tr><th>Column Name</th></tr>
<tr role="row" aria-selected="true"><td>Cell Content</td></tr>
</table>

Shouldn't both cases work?

Thanks,
Bryan


Bryan Garaventa
Principal Accessibility Architect
Level Access, Inc.
Bryan.Garaventa@LevelAccess.com<mailto:Bryan.Garaventa@LevelAccess.com>
415.624.2709 (o)
www.LevelAccess.com<http://www.levelaccess.com/>

Received on Thursday, 8 July 2021 16:32:07 UTC