w3c / aria

Accessible Rich Internet Applications (WAI-ARIA)
https://w3c.github.io/aria/
Other
654 stars 125 forks source link

HTML-AAM: possible abbr attr/el confusion? #2343

Closed aardrian closed 1 month ago

aardrian commented 1 month ago

3.5.4 <abbr> entry for MSAA/IA2: https://w3c.github.io/html-aam/#el-abbr

Roles: ROLE_SYSTEM_TEXT; IA2_ROLE_TEXT_FRAME Object attributes: "abbr" attribute on the containing td if a single child, text content used as a value

3.6.1 abbr attribute entry for MSAA/IA2: https://w3c.github.io/html-aam/#att-abbr

Object attributes: "abbr" until child abbr element is provided

Questions:

  1. Are these descriptions partially / completely swapped?
  2. The abbr attribute lives on <th>, not <td>, yeah?
  3. The abbr attribute should not have a child <abbr>, right?
  4. Should I blame the loud pool here at TPAC?

Checking with an issue to confirm this is weird before I file a PR.

scottaohara commented 1 month ago

it is wrong, and has been for awhile - https://github.com/w3c/html-aam/issues/246

if a PR can be filed, that'd be wonderful... but i never did it because what seemed easy quickly devolved into "what to do" and without knowing what to do, i wasn't even sure what to correct this to.

so that's on me for not just at least matching reality and letting this be inaccurate for ... well.. from digging through the commit history to try and correct this, i actually have no record of this ever having not been mixed up

pkra commented 1 month ago

Can we close this as a duplicate of https://github.com/w3c/html-aam/issues/246 ?

spectranaut commented 1 month ago

closing as dup of: https://github.com/w3c/html-aam/issues/246 Assigning @aardrian there