Sa11y 3.1.2
Developer updates
Additional ways of adding custom checks without a build step. Custom Check's documentation will be updated soon. Custom checks can be:
- Passed as an object during instantiation.
- Using event dispatchers, Sa11y will "listen" for the presence of custom checks up to 500ms.
- Timing can be customized via prop
delayCustomCheck
- Timing can be customized via prop
New methods
New methods to help build custom checks.
sa11y.find(selector, desiredRoot, exclude)
— Find any elements on the page.sa11y.prepareDismissal(string)
— Create dismiss keys.sa11y.sanitizeHTML(string)
— Sanitize text strings.
Bug fixes
- Adjust tippy.js property to use
auto-start
instead ofright-start
so tooltips open up on the side with the most space. - Tooltip arrows visually closer to annotation.
- Spelling error fix thanks to @brianteeman