-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve sd-expandable a11y (#1724)
<!-- ## Title: Please consider adding the [skip chromatic] flag to the PR title in case you dont need chromatic testing your changes. --> ## Description: Closes #1476 and #1778 This PR addresses: - Adjust sd-expandable spacings according to figma - Reorder of sd-expandable dom order. (button first so it is targetable by keyboard first) - Improvement of the sd-expandable template labels - Added accessibility hints to sd-expandable ## Definition of Reviewable: <!-- *PR notes: Irrelevant elements should be removed.* --> - [x] Documentation is created/updated - [ ] Migration Guide is created/updated - [ ] E2E tests (features, a11y, bug fixes) are created/updated <!-- *If this PR includes a bug fix, an E2E test is necessary to verify the change. If the fix is purely visual, ensuring it is captured within our chromatic screenshot tests is sufficient.* --> - [x] Stories (features, a11y) are created/updated - [x] relevant tickets are linked --------- Co-authored-by: Mario Hamann <mario.hamann@virtual-identity.com>
- Loading branch information
1 parent
0450b79
commit c7bab9d
Showing
5 changed files
with
233 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
'@solid-design-system/components': patch | ||
--- | ||
|
||
Improved sd-expandable visual: | ||
|
||
- Removed underline to match design. | ||
- Improved spacings according to design. | ||
|
||
Improved sd-expandable a11y: | ||
|
||
- Reorder elements in the DOM (button first so it is targetable by keyboard on first tab) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@solid-design-system/docs': patch | ||
--- | ||
|
||
Improved sd-expandable a11y: | ||
|
||
- Improved template labels | ||
- Added accessibility hints |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.