Skip to content

Commit c579a09

Browse files
release: 0.5.15 (#894)
* Version Packages * Update CHANGELOG.md Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Sebastian Silbermann <[email protected]>
1 parent 6bb255b commit c579a09

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

.changeset/clever-masks-film.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# dom-accessibility-api changelog
22

3+
## 0.5.15
4+
5+
### Patch Changes
6+
7+
- [#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
8+
9+
Effectively ensures that `title` will not have precedence over name from content.
10+
For example, the `option` in `<option title="Title">Content</option>` will now have `"Content"` as its accessible name instead of `"Title"`.
11+
312
## 0.5.14
413

514
### Patch Changes
@@ -215,11 +224,11 @@
215224

216225
```ts
217226
computeAccessibleName(element, {
218-
computedStyleSupportsPseudoElements: true
227+
computedStyleSupportsPseudoElements: true,
219228
});
220229

221230
computeAccessibleDescription(element, {
222-
computedStyleSupportsPseudoElements: true
231+
computedStyleSupportsPseudoElements: true,
223232
});
224233
```
225234

@@ -228,13 +237,13 @@
228237

229238
```ts
230239
computeAccessibleName(element, {
231-
computedStyleSupportsPseudoElements: true
240+
computedStyleSupportsPseudoElements: true,
232241
});
233242

234243
computeAccessibleName(element, {
235244
getComputedStyle: (element, pseudoElement) => {
236245
// custom implementation
237-
}
246+
},
238247
});
239248
```
240249

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "dom-accessibility-api",
33
"description": "Implements https://w3c.github.io/accname/",
4-
"version": "0.5.14",
4+
"version": "0.5.15",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",
77
"type": "commonjs",

0 commit comments

Comments
 (0)