w3c / html-aria

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

Review elements that allow 'any role' #359

Open scottaohara opened 3 years ago

scottaohara commented 3 years ago

The following elements allow for 'any role'. The inline, text-level semantics, elements are the ones that seem a bit suspect at allowing 'any' role... but maybe someone has a use case for <i role=table>...</i> or <b role=main>...</b>?

Elements: address, blockquote, canvas, hgroup, p, del, ins, rp, rt, ruby, a without href, abbr, b, bdi, bdo, cite, code, data, dfn, em, i, kbd, mark, output, pre, q, s, samp, small, span, strong, sub, sup, time, u, var

Note: we may decide to do nothing here. But I want to at least discuss the topic.

Elements which do not need a review/will be taken care of by other issues/PRs

scottaohara commented 2 years ago

likely related to work that will be done with https://github.com/w3c/html-aria/issues/358