197

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?

Lorenzo B
  • 33,216
  • 24
  • 116
  • 190
soflow
  • 1,987
  • 2
  • 12
  • 3
  • 3
    I'd suggest taking a look at the following blogpost ([link](http://blog.gingertech.net/2009/08/21/aria-a-brief-introduction/)) - the poster explains aria and its attributes with a good deal of clarity – JP. Nov 30 '11 at 04:15
  • 6
    possible duplicate of [What is HTML5 ARIA?](http://stackoverflow.com/questions/3474099/what-is-html5-aria) – danielnixon Dec 23 '14 at 03:07

1 Answers1

156

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.

gkrogers
  • 8,126
  • 3
  • 29
  • 36
  • 7
    the 'various attributes' link is no good right at the moment. – Josh Russo Mar 10 '14 at 01:05
  • 4
    Try https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA for an overview. – Nick Apr 25 '14 at 07: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). – brennanyoung Aug 22 '19 at 08:30