Closed silverstarfyus closed 4 years ago
you can pass any additional attributes to the components and they will be passed through to the DOM.
Notice how the first input in this example has aria-required
: https://stackblitz.com/edit/reactstrap-validation-v2-6z7h32?file=Example.js
Also note that aria-required
is not really needed when the HTML5 required
attribute is present.
https://stackoverflow.com/a/37975985/1873485
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-required_attribute
Is there a specific way that ARIA additions have to be used with this library? I'm specifically trying to apply it to a and no REACT syntax or basic html syntax is working