Skip to content

Commit

Permalink
Update Aside in skeleton template to be more accessible (#2639)
Browse files Browse the repository at this point in the history
* Update Aside in skeleton template to be more accessible

* Add changeset

* Update .changeset/nervous-olives-nail.md

---------

Co-authored-by: Helen Lin <[email protected]>
  • Loading branch information
lb- and wizardlyhel authored Nov 26, 2024
1 parent 1a4d4da commit 9979415
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/nervous-olives-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'skeleton': patch
---

Update `Aside` to have an accessible close button label
2 changes: 1 addition & 1 deletion templates/skeleton/app/components/Aside.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function Aside({
<aside>
<header>
<h3>{heading}</h3>
<button className="close reset" onClick={close}>
<button className="close reset" onClick={close} aria-label="Close">
&times;
</button>
</header>
Expand Down

0 comments on commit 9979415

Please sign in to comment.