I wanted to know what the aria-*
attributes are used for. What values can they have, and are they defined values or can I create my own values?
-
3I'd suggest taking a look at the following blogpost (link) - the poster explains aria and its attributes with a good deal of clarity– JP.Nov 30, 2011 at 4:15
-
5possible duplicate of What is HTML5 ARIA?– danielnixonDec 23, 2014 at 3:07
Add a comment
|
1 Answer
ARIA stands for Accessible Rich Internet Applications and is designed to improve the accessibility of Rich Internet Applications, i.e. to make them more usable for people with disabilities.
Help on the various attributes is available here.
I don't think you can create your own ARIA attributes.
-
7
-
4Try developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA for an overview.– NickApr 25, 2014 at 7:51
-
@gkrogers is right. You can't create your own aria attributes. The
data-
attribute prefix should be used for that (and there's some javaScript sugar for accessing them). Aug 22, 2019 at 8:30