- #63
e2cb0f2Thanks @drwpow! - Add getAccNameAndDescription() for getting accessible names + descriptions.
- #54
74659abThanks @jlp-craigmorten! - Adopt WAI-ARIA 1.3 default of image role in preference to img role. Fix role calculation for img element with no alt. Fix ACCNAME calculation to support title attribute. Fix ACCNAME calculation for empty or whitespace only labels.
- #49
1f90a50Thanks @jlp-craigmorten! - Role fixes
- #46
e49b399Thanks @jlp-craigmorten! - Add digital publishing (dpub) extensions roles
-
#38
047714dThanks @drwpow! -⚠️ Breaking API changes:getRole()now returns full role data, rather than a string. To achieve the same result, access thenameproperty:- getRole({ tagName: 'button' }) + getRole({ tagName: 'button' })?.name
-
#38
047714dThanks @drwpow! -⚠️ Breaking change: Node API now requires all attributes.Attributes
In the previous version,
<a>and<area>would assumehrefwas set, unless you passed in an explicitattributes: {}object. However, in expanding the DOM API this inconsistency in behavior led to problems. Now both versions behave the same way in regards to attributes: an attribute is assumed NOT to exist unless passed in.Ancestors
This behavior is largely-unchanged, however, some small improvements have been made.
Note: the DOM version will automatically traverse the DOM for you, and automatically reads all attributes. This change only affects the Node API where the DOM is unavailable.
-
#42
c000339Thanks @drwpow! -⚠️ Breaking change: aria- attribute data now matches ARIA spec, e.g.enum(unique type) replaced withtoken(described in ARIA 1.3). -
#40
eedfa8fThanks @drwpow! - Bugfix: aria-roledescription and aria-brailleroledescription removed from “naming prohibited” attributes
-
#42
c000339Thanks @drwpow! - Incorporate the SVG AAM spec and add tests. -
#40
eedfa8fThanks @drwpow! - Bugfix: more AAM mappings were incorporated<dd>now maps todefinition<dt>now maps toterm<figcaption>now maps tocaption
-
#38
047714dThanks @drwpow! - fix: Performance improvements for DOM API -
#38
047714dThanks @drwpow! - feat: Add presentationalChildren property to RoleData -
#40
eedfa8fThanks @drwpow! - Add support for custom elements -
#38
047714dThanks @drwpow! - Fix: all methods are now runnable in a DOM or DOM-like environment
- #33
c257353Thanks @jlp-craigmorten! - Fix role for th element in context
- #30
b6219e8Thanks @jlp-craigmorten! - Fix role for aside element when nested within sectioning content
- #28
bbd21acThanks @jlp-craigmorten! - Fix role for section element with no accessible name