Skip to content

Commit 4737806

Browse files
committed
LoadingSpinner.tsx: add an SVG title tag with aria label for older browser support
1 parent f319c07 commit 4737806

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/LoadingSpinner.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ export const LoadingSpinner: React.FC = () => (
1414
y="0px"
1515
viewBox="0 0 144 144"
1616
xmlSpace="preserve"
17+
aria-labelledby="loadingSpinnerTitle"
18+
role="img"
1719
>
20+
<title id="loadingSpinnerTitle">Loading spinner</title>
1821
<g>
1922
<path
2023
opacity="0.9"

0 commit comments

Comments
 (0)