You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, this code does not work as intended, because the aria-required attribute has a "false" default value: it should be written as aria-required="true" to work properly with assistive technology.
I would recommend that the documentation be updated with a working example.
The text was updated successfully, but these errors were encountered:
n-chardon
added a commit
to n-chardon/eslint-plugin-jsx-a11y
that referenced
this issue
Jun 21, 2023
The following code is displayed as the "Good" example of
role-supports-aria-props
rule :However, this code does not work as intended, because the
aria-required
attribute has a "false" default value: it should be written asaria-required="true"
to work properly with assistive technology.I would recommend that the documentation be updated with a working example.
The text was updated successfully, but these errors were encountered: