Skip to content

v0.5.13

Compare
Choose a tag to compare
@github-actions github-actions released this 01 Mar 08:28
· 181 commits to main since this release
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.