element-plus/docs/en-US
Karolis_Stoncius_Sneakybox 268457135e
feat(components): added aria-level attributes for dialog and drawer headers; Fixed input-number's aria-valuenow being null (#13822)
* feat(components): [dialog] added dialog header aria-level attribute

To pass accessibility tests elements with role="heading" require aria-level

* feat(components): [drawer] added drawer header aria-level attribute

To pass accessibility tests elements with role="heading" require aria-level

* fix(components): [input-number] prevent aria-valuenow from being null

To pass accessibility tests aria-valuenow cannot be null

* fix(components): [input-number] fix number input when 0 and update test

Fixes a bug where number input's aria-valuenow will be set to '' when input's value is 0. Also
updates a failing test

* refactor(components): [dialog] change default aria-level to 2

* docs(components): dialog and drawer header aria-level docs update

* docs(components): change headerAriaLevel type to string

* docs(components): kebab-case for docs
2023-08-24 20:14:59 +08:00
..
component feat(components): added aria-level attributes for dialog and drawer headers; Fixed input-number's aria-valuenow being null (#13822) 2023-08-24 20:14:59 +08:00
guide docs: fix official migration reference link (#13911) 2023-08-09 13:41:50 +08:00
resource docs: refactor resource (#6260) 2022-02-24 11:04:56 +08:00
index.md chore: update doc title (#4273) 2021-11-08 03:30:16 +08:00