WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Meaningful Sequende Question

for

From: Jeremy Echols
Date: Dec 7, 2022 11:27AM


ARIA attributes are never meant to cause a browser to change its behavior. They're just a way of exposing information. As browsers add / update features, the aria attributes which we used to have to manually hack up become unnecessary. The "dialog" element is a perfect example of this. At some point there won't be any browsers still in use which don't support it, and we'll be able to simply use it without custom JavaScript (beyond the basic stuff like making a button open/close it). We're actually very close to that point already, as all updated browsers do support "dialog" elements very well.

For reference, the url for the "dialog" element follows: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog