Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 0.5.15 #894

Merged
merged 2 commits into from
Jan 1, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"` has its accessible name instead of `"Title"`.
eps1lon marked this conversation as resolved.
Show resolved Hide resolved

## 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