Skip to content

Releases: eps1lon/dom-accessibility-api

v0.6.3

18 Sep 16:38
db10fff
Compare
Choose a tag to compare

Patch Changes

v0.6.2

17 Sep 19:37
56941bf
Compare
Choose a tag to compare

Patch Changes

  • #978 0128d16 Thanks @hiebj! - Add explicit typings location to support use in TypeScript ESM modules

v0.6.1

10 Jun 09:34
f204af5
Compare
Choose a tag to compare

Patch Changes

v0.6.0

07 May 20:09
1149a4b
Compare
Choose a tag to compare

Minor Changes

v0.5.16

18 Jan 20:04
386719b
Compare
Choose a tag to compare

Patch Changes

  • #902 df97b80 Thanks @eps1lon! - Fix a case of maximum call stack size exceeded when a node referenced itself in aria-labelledby.

v0.5.15

01 Jan 10:06
c579a09
Compare
Choose a tag to compare

Patch Changes

  • #893 d5af41d Thanks @eps1lon! - Don't consider title in 2E

    Effectively ensures that title will not have precedence over name from content.
    For example, the option in <option title="Title">Content</option> will now have "Content" as its accessible name instead of "Title".

v0.5.14

25 Apr 06:32
ce7b5e3
Compare
Choose a tag to compare

Patch Changes

  • #827 a1daca5 Thanks @nolanlawson! - Follow aria-labelledby and aria-describedby if they point to elements in the same shadow root.

v0.5.13

01 Mar 08:28
1c67898
Compare
Choose a tag to compare

Patch Changes

  • #811 5b0f48e Thanks @eps1lon! - Prefer button subtree over title attribute.

     const name = computeAccessibleName(<button title="from-title">from-content</button>);
    -'from-title' === name
    +'from-content' === name

    <button title="from-title">from-content</button> would previously compute the accessible name "from-title".
    This is correct in ACCNAME 1.2 but is changed in the latest editors draft.
    The latest editors draft specifically refers to HTML-AAM which says that the subtree should take precedent over the title attribute.
    computeAccessibleName now calculates "from-content" as the accessible name.

v0.5.12

21 Feb 11:30
98284fd
Compare
Choose a tag to compare

Patch Changes

  • #800 de554b0 Thanks @pablo-abc! - Remover circular dependency, which fixes warnings thrown in certain environments.

v0.5.11

27 Jan 19:51
1791d57
Compare
Choose a tag to compare

Patch Changes

  • #796 cb38778 Thanks @calebeby! - <input type="number" /> now maps to role spinbutton (was textbox before).