Skip to content

Commit c5124c1

Browse files
Version Packages (#408)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 03273b7 commit c5124c1

File tree

3 files changed

+20
-19
lines changed

3 files changed

+20
-19
lines changed

.changeset/empty-frogs-attend.md

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

CHANGELOG.md

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

3+
## 0.5.2
4+
5+
### Patch Changes
6+
7+
- [`03273b7`](https://github.com/eps1lon/dom-accessibility-api/commit/03273b7d91a156a6dd9c727293a491cd2d1f02f1) [#406](https://github.com/eps1lon/dom-accessibility-api/pull/406) Thanks [@eps1lon](https://github.com/eps1lon)! - Fix various issues for input types `submit`, `reset` and `image`
8+
9+
Prefer input `value` when `type` is `reset` or `submit`:
10+
11+
```diff
12+
<input type="submit" value="Submit values">
13+
-// accessible name: "Submit"
14+
+// accessible name: "Submit values"
15+
<input type="reset" value="Reset form">
16+
-// accessible name: "Reset"
17+
+// accessible name: "Reset form"
18+
```
19+
20+
For input `type` `image` consider `alt` attribute or fall back to `"Submit query"`.
21+
322
## 0.5.1
423

524
### 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.5.1",
3+
"version": "0.5.2",
44
"main": "dist/index.js",
55
"module": "dist/index.mjs",
66
"type": "commonjs",

0 commit comments

Comments
 (0)