a11y: JAWS not reading text for parent-folder and home
Massimo Melina committed
Apr 2, 2024 at 21:08 UTC
da8c4f1dd97e47a56bd48074d0843d88c7b0ed80
1 file changed
+2
-2
frontend/src/Breadcrumbs.ts
+2
-2
@@ -16,8 +16,8 @@ export function Breadcrumbs() {
16
const breadcrumbs = currentPath ? currentPath.split('/').map(x => [prev += x + '/', decodeURIComponent(x)]) : []
17
const {t} = useI18N()
18
return h(Fragment, {},
19
- h(Breadcrumb, { label: hIcon('parent'), title: t`parent folder`, path: parent }),
20
- h(Breadcrumb, { label: hIcon('home'), title: t`home`, path: base, current: !currentPath }),
19
+ h(Breadcrumb, { label: hIcon('parent', { alt: t`parent folder` }), path: parent }),
20
+ h(Breadcrumb, { label: hIcon('home', { alt: t`home` }), path: base, current: !currentPath }),
21
breadcrumbs.map(([path,label], i) =>
22
h(Breadcrumb, {
23
key: path,