0.9.1 (2026-02-18) ------------------ - fix shadow DOM support for `getName()` 0.9.0 (2026-02-18) ------------------ - restore cjs entry point - add basic support for shadow DOM 0.8.0 (2024-11-01) ------------------ - Convert the source code to ES modules. `dist/aria.js` is still an UMD bundle. - The internal re-exports `query.getRole()` and `query.getAttribute()` have been removed. Use the corresponding exports from `attrs` instead. - fix: support `xlink:href` on `` elements - fix: consider `text-transform` in `getName()` and `getDescription()` 0.7.0 (2024-06-22) ------------------ - add support for SVG-AAM - add support for WAI-ARIA 1.3 - fix: when deciding if an element is hidden, treat `visibility: collapsed` the same as `visibility: hidden` - getName - do not trim non-breaking spaces - add support for `open-quote`, `close-quote`, `attr(…)` and fallback values in pseudo content - treat `placeholder` as tooltip - only add whitespace for online elements, not for inline-block - fallback to tooltip for any element - only ignore `aria-labelledby` when recursion was caused by `aria-labelledby` or `aria-describedby` 0.6.0 (2024-02-04) ------------------ - getRole - use Web Platform Tests - fix rowheader selectors - fix listitem selectors - fix: directory is an alias for list - never return invalid, abstract, or alias roles - fall back to implicit role if all explicit roles are invalid - getName - increase priority of embedded input element 0.5.0 (2023-06-07) ------------------ - add support for WAI-ARIA 1.2 - add support for Digital Publishing WAI-ARIA Module 1.1 - add support for `aria-description` - add incomplete support for SVG Accessibility API Mappings - update HTML Accessibility API Mappings to the latest working draft - fix parsing of the `role` attribute if it contains more than one entry - do not consider `placeholder` for description 0.4.7 (2023-01-12) ------------------ - internal refactoring and performance improvements 0.4.6 (2023-01-08) ------------------ - fix: `img[alt=""]` has role presentation - fix handling of whitespace in some places (but still not perfect) - only treat direct children of `
` as hidden. This is consistent with how `display: none` is treated. 0.4.5 (2022-10-10) ------------------ - fix a typo in the previous release 0.4.4 (2022-10-10) ------------------ - use labels property as indicator that element is labelable - fix issue with non-labelable elements inside label elements 0.4.3 (2022-10-04) ------------------ - treat children of `
` as hidden - avoid infinite loops with `aria-owns` (thanks to Jon Ribbens) 0.4.2 (2022-01-25) ------------------ - assume separator is not focussable (i.e. structure, not widget) - fix nameFromContents for cell - fix: treat aria-hidden as bool-undefined - fix: escape ids before inserting them into selectors 0.4.1 (2021-06-23) ------------------ - always ignore `