Installation
YANKI Drag to your bookmarks toolbar.
YANKI is a super simple JavaScript favelet/bookmarklet. It works in modern desktop browsers.
"Yank" suspicious attributes from the DOM
In accessibility, sometimes, no ARIA is better than bad ARIA.
YANKI let's you remove suspicious attributes from the DOM, then test the page to see if accessibility is better with the problematic attributes removed.
Which Attributes?
YANKI can remove any attribute! It will temporarily remove all instances of the attribute from the DOM.
A few examples of how an Accessibility Tester might use YANKI:
role
- Removing
role
attributes that are improperly applied, can sometimes improve screen reader behavior.
tabindex
- Removing
tabindex
greater than zero (tabindex="1"
,tabindex="2"
,tabindex="3"
) can resolve issues that relating to illogical tab order. - Removing
tabindex="-1"
is helpful when it is improperly applied to elements that need to be in the tab order. - Removing
tabindex="0"
from non-interactive elements can often improve efficiency of the tab order for keyboard users.
aria-*
- Removing
aria-*
attributes (aria-label
,aria-labelledby
,aria-describedby
) can sometimes eliminate screen reader verbosity issues.
Open Source - github
YANKI is an open source project on github.