-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add functionality to call out deprecated attributes #53
Comments
Hi @scottaohara, thank you for this list. I've added it to my list for the next update. |
@gezlemon another thing which i almost forgot to mention, specific to See w3c/html-aria#366, but the quick version is that |
Hi @scottaohara I've updated the script to deprecate the attributes you've listed, and included an exception for aria-invalid when "spelling", "grammar", and "false" are used. |
Thanks @gezlemon. Though it seems that not all cases are covered? for example, the test case i had (https://w3c.github.io/html-aria/tests/deprecated-attrs.html) used |
Thanks, @scottaohara I've updated the script to check for deprecated attributes for elements without an ARIA role. |
aria-grabbed
andaria-dropeffect
are deprecated attributes for all elements/roles.ARIA 1.2 also deprecates
aria-disabled
,aria-errormessage
,aria-haspopup
, andaria-invalid
from being global attributes. They are instead allowed on specific roles where their usage still makes sense.aria-disabled
,aria-errormessage
,aria-haspopup
, andaria-invalid
supported onapplication, columnheader, combobox, gridcell, rowheader, searchbox, slider, spinbutton, textbox
aria-disabled
,aria-haspopup
supported onbutton, link, menuitem, menuitemcheckbox, menuitemradio, tab, treeitem
aria-disabled
,aria-errormessage
, andaria-invalid
supported oncheckbox, listbox, radiogroup, switch, tree, treegrid
aria-disabled
supported ongrid, group, menu, menubar, option, radio, row, scrollbar, separator (if focusable), tablist, toolbar
The text was updated successfully, but these errors were encountered: