Skip to content

Commit

Permalink
release: 0.5.15 (#894)
Browse files Browse the repository at this point in the history
* Version Packages

* Update CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
  • Loading branch information
3 people committed Jan 1, 2023
1 parent 6bb255b commit c579a09
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
8 changes: 0 additions & 8 deletions .changeset/clever-masks-film.md

This file was deleted.

17 changes: 13 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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 `<option title="Title">Content</option>` will now have `"Content"` as its accessible name instead of `"Title"`.

## 0.5.14

### Patch Changes
Expand Down Expand Up @@ -215,11 +224,11 @@

```ts
computeAccessibleName(element, {
computedStyleSupportsPseudoElements: true
computedStyleSupportsPseudoElements: true,
});

computeAccessibleDescription(element, {
computedStyleSupportsPseudoElements: true
computedStyleSupportsPseudoElements: true,
});
```

Expand All @@ -228,13 +237,13 @@

```ts
computeAccessibleName(element, {
computedStyleSupportsPseudoElements: true
computedStyleSupportsPseudoElements: true,
});

computeAccessibleName(element, {
getComputedStyle: (element, pseudoElement) => {
// custom implementation
}
},
});
```

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit c579a09

Please sign in to comment.