Skip to content

Fix/invalid aria role#22

Open
HaloGamer33 wants to merge 2 commits into
quickshell-mirror:mainfrom
HaloGamer33:fix/invalid-aria-role
Open

Fix/invalid aria role#22
HaloGamer33 wants to merge 2 commits into
quickshell-mirror:mainfrom
HaloGamer33:fix/invalid-aria-role

Conversation

@HaloGamer33
Copy link
Copy Markdown
Contributor

Description

Invalid Aria Role

The aria role role: "icon" is not a valid one under WAI-ARIA and it made Astro throw errors when it appeared:

image

Since the SVG is just decorative and since the button already handles accessibility with "aria-label": "Copy to clipboard" I just changed the role: "icon" to "aria-hidden": "true" so the SVGs are ignored.

aria-live Typo

I also changed the alia-live typo to aria-live

Captures

Before

image

After

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant