fix: accessibility fixes

This commit is contained in:
saicaca committed 2023-10-20 12:14:06 +08:00
1 parent 1ccf80f9a2
commit a15b88bdbd
14 files changed
+31 -44

No files matched your search

+3 -2
View File
@@ -2,10 +2,11 @@
interface Props {
badge?: string
url?: string
label?: string
}
const { badge, url } = Astro.props
const { badge, url, name } = Astro.props
---
<a href={url}>
<a href={url} aria-label={name}>
<button
class:list={`
w-full