From c579a0930a50621d78689fd796993cd27139c771 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 1 Jan 2023 11:04:18 +0100 Subject: [PATCH] release: 0.5.15 (#894) * Version Packages * Update CHANGELOG.md Co-authored-by: github-actions[bot] Co-authored-by: Sebastian Silbermann --- .changeset/clever-masks-film.md | 8 -------- CHANGELOG.md | 17 +++++++++++++---- package.json | 2 +- 3 files changed, 14 insertions(+), 13 deletions(-) delete mode 100644 .changeset/clever-masks-film.md diff --git a/.changeset/clever-masks-film.md b/.changeset/clever-masks-film.md deleted file mode 100644 index 66b6c30e..00000000 --- a/.changeset/clever-masks-film.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"dom-accessibility-api": patch ---- - -Don't consider `title` in 2E - -Effectively ensures that `title` will not have precedence over name from content. -For example, the `option` in `` will now have `"Content"` has its accessible name instead of `"Title"`. diff --git a/CHANGELOG.md b/CHANGELOG.md index ae0b4a79..c0269b27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # dom-accessibility-api changelog +## 0.5.15 + +### Patch Changes + +- [#893](https://github.com/eps1lon/dom-accessibility-api/pull/893) [`d5af41d`](https://github.com/eps1lon/dom-accessibility-api/commit/d5af41d4d35a62f4bf0faf8776e62d8ecfabea41) Thanks [@eps1lon](https://github.com/eps1lon)! - Don't consider `title` in 2E + + Effectively ensures that `title` will not have precedence over name from content. + For example, the `option` in `` will now have `"Content"` as its accessible name instead of `"Title"`. + ## 0.5.14 ### Patch Changes @@ -215,11 +224,11 @@ ```ts computeAccessibleName(element, { - computedStyleSupportsPseudoElements: true + computedStyleSupportsPseudoElements: true, }); computeAccessibleDescription(element, { - computedStyleSupportsPseudoElements: true + computedStyleSupportsPseudoElements: true, }); ``` @@ -228,13 +237,13 @@ ```ts computeAccessibleName(element, { - computedStyleSupportsPseudoElements: true + computedStyleSupportsPseudoElements: true, }); computeAccessibleName(element, { getComputedStyle: (element, pseudoElement) => { // custom implementation - } + }, }); ``` diff --git a/package.json b/package.json index e61d65ab..940bc20e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "dom-accessibility-api", "description": "Implements https://w3c.github.io/accname/", - "version": "0.5.14", + "version": "0.5.15", "main": "dist/index.js", "module": "dist/index.mjs", "type": "commonjs",