v0.5.13
Patch Changes
-
#811
5b0f48e
Thanks @eps1lon! - Prefer button subtree overtitle
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 thetitle
attribute.
computeAccessibleName
now calculates "from-content" as the accessible name.