Skip to content

Releases: eps1lon/dom-accessibility-api

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 27 Nov 14:33
a182898

Patch Changes

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 24 Jul 18:33
f6ef9db

Minor Changes

  • #1048 d9ad334 Thanks @TomPridham! - Cache window.getComputedStyle results

    Should improve performance in environments that don't cache these results natively e.g. JSDOM.
    This increases memory usage.
    If this results in adverse effects (e.g. resource constrained browser environments), please file an issue.

v0.6.3

Choose a tag to compare

@github-actions github-actions released this 18 Sep 16:38
db10fff

Patch Changes

v0.6.2

Choose a tag to compare

@github-actions github-actions released this 17 Sep 19:37
56941bf

Patch Changes

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

v0.6.1

Choose a tag to compare

@github-actions github-actions released this 10 Jun 09:34
f204af5

Patch Changes

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 07 May 20:09
1149a4b

Minor Changes

v0.5.16

Choose a tag to compare

@github-actions github-actions released this 18 Jan 20:04
386719b

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

Choose a tag to compare

@github-actions github-actions released this 01 Jan 10:06
c579a09

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

Choose a tag to compare

@github-actions github-actions released this 25 Apr 06:32
ce7b5e3

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

Choose a tag to compare

@github-actions github-actions released this 01 Mar 08:28
1c67898

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.