Skip to content

Commit 03c05ac

Browse files
release: 0.4.6 (#303)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 2cb52a1 commit 03c05ac

File tree

5 files changed

+31
-36
lines changed

5 files changed

+31
-36
lines changed

.changeset/nine-masks-begin.md

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

.changeset/polite-apricots-wink.md

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

.changeset/strange-windows-lie.md

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

CHANGELOG.md

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

3+
## 0.4.6
4+
5+
### Patch Changes
6+
7+
- [`85f0032`](https://github.com/eps1lon/dom-accessibility-api/commit/85f0032e0ec9203df7e4e5d0c3c8a206ac1968c1) [#324](https://github.com/eps1lon/dom-accessibility-api/pull/324) Thanks [@juanca](https://github.com/juanca)! - Consider `<title>` for the name of its `<svg>` element.
8+
9+
* [`f7c1981`](https://github.com/eps1lon/dom-accessibility-api/commit/f7c19812307e8847dbe1b678a3bafdc6dbf7f23b) [#288](https://github.com/eps1lon/dom-accessibility-api/pull/288) Thanks [@eps1lon](https://github.com/eps1lon)! - Drop node 13 support
10+
11+
We only stopped testing. Probability of breakage should be very low.
12+
13+
**New policy**:
14+
15+
> Only [active node versions](https://nodejs.org/en/about/releases/) are supported.
16+
> Inactive node versions can stop working in a SemVer MINOR release.
17+
18+
- [`fa53c51`](https://github.com/eps1lon/dom-accessibility-api/commit/fa53c510d8aab6cf3561c91949f1df3a52a500a8) [#210](https://github.com/eps1lon/dom-accessibility-api/pull/210) Thanks [@eps1lon](https://github.com/eps1lon)! - Implement accessbile description computation
19+
20+
```ts
21+
import { computeAccessibleDescription } from "dom-accessibility-api";
22+
23+
const description = computeAccessibleDescription(element);
24+
```
25+
26+
Warning: It always considers `title` attributes if the description is empty.
27+
Even if the `title` attribute was already used for the accessible name.
28+
This is fails a web-platform-test.
29+
The other failing test is due to `aria-label` being ignored for the description which is correct by spec.
30+
It's likely an issue with wpt.
31+
The other tests are passing (13/15).
32+
333
## 0.4.5
434

535
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dom-accessibility-api",
3-
"version": "0.4.5",
3+
"version": "0.4.6",
44
"main": "dist/index.js",
55
"module": "dist/index.mjs",
66
"type": "commonjs",

0 commit comments

Comments
 (0)