qwik-ui
qwik-ui copied to clipboard
feat(badge) Make the badge more accessible
Summary
Badges shall use by default status role and content flow DOM elements.
Such implementation helps follow the WAI ARIA and HTML practices:
<span class="..." role="status"><Slot /></span>
Concerns
- we could let integrators customise the role
So, this is just replacing the div element with span and adding the role attribute?
Appreciate it if you can let me take this one then.
*This will be my first contribution to the Qwik open-source project
That's correct @fmgono 👌
working on it!