Is there a feature detection equivalent for ARIA attributes, like aria-owns?

41 Views Asked by At

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.

0

There are 0 best solutions below