Feedback on draft aria-labelledby guidance

Hi all,

Expanding on what I said in the meeting, I think the restriction on parsing a node multiple times may cause unexpected results in the following example. It shows a table with one cell containing a button with a self-referencing ID. When parsing the cell's name using name from content, the button would be parsed twice. Let me know what you think!

Sample code link: https://jsfiddle.net/s7fwonvy/show (apologies for using JS Fiddle; you shouldn't need to enter code view though)

Relevant paragraph suggested by Bryan:

Any node that is parsed in the tree as a child or owned element via aria-owns, or as part of an aria-labelledby or aria-describedby traversal, can only be processed once and will be ignored by any other references to itself later by any other attribute or process during this computation. This prevents infinite loops from occurring. So, only the first instance of this node will be processed when encountered in the order of the naming computation, and not by any others after that.

Thanks,
Sarah

Received on Tuesday, 4 June 2019 19:23:09 UTC