interop-accessibility icon indicating copy to clipboard operation
interop-accessibility copied to clipboard

New test to ensure in-validness of el.ariaLabeledBy and el.ariaLabeledByElements (misspelled content attribute aria-labeledby is supported but the misspelled DOM properties should not be)

Open cookiecrook opened this issue 9 months ago • 1 comments

New test to ensure in-validness of el.ariaLabeledBy and el.ariaLabeledByElements… Misspelled content attribute aria-labeledby is an author error but supported by the engines and tested in WPT... but the misspelled DOM properties should not be supported.

From: https://github.com/w3c/aria/issues/2093#issuecomment-2698480966

We should probably add another test to make sure [the misspelled aria-labeledby doesn't] accidentally get a new DOM interface though. E.g. el.ariaLabeledBy and el.ariaLabeledByElements should not get any new behavior.

cookiecrook avatar Mar 04 '25 20:03 cookiecrook

There are objections to enshrining the misspelled content attribute, so this one may be closed as Not To Be Fixed.

cookiecrook avatar Mar 07 '25 00:03 cookiecrook