0

Best practice web development would use browser feature detection to determine if a feature is present and properly supported by a browser, instead of say version detection. For example by using CSS.supports() in JavaScript.

Is there a way to feature detect aria-owns?

For additional context it looks like aria-owns has been improved recently in WebKit Bug Id 151498 though it has at the time of writing yet to make it into a Safari Technology Preview.

pzrq
  • 1,626
  • 1
  • 18
  • 24
  • https://a11ysupport.io/tech/aria/aria-owns_attribute is probably your best bet, unfortunately. – Mike 'Pomax' Kamermans Apr 13 '23 at 03:28
  • Thanks @Mike'Pomax'Kamermans - that did come up in my research though I can only see implementing it with version detection (once the versions become known), not any actual feature detection. Might just be the state of AX/a11y right now. – pzrq Apr 13 '23 at 03:30

0 Answers0