mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-31 17:30:24 +01:00
minor screen reader improvements
This commit is contained in:
1 parent
624c3357be
commit
075e20efae
88 files changed
+298
-256
No files matched your search
@@ -191,7 +191,7 @@ export function collectionsSidebar() {
|
||||
});
|
||||
},
|
||||
},
|
||||
t.i({ className: "ri-add-line" }),
|
||||
t.i({ className: "ri-add-line", ariaHidden: true }),
|
||||
t.span({ textContent: "New collection" }),
|
||||
),
|
||||
),
|
||||
@@ -210,7 +210,10 @@ function collectionItem(collection, data) {
|
||||
title: () => collection.name,
|
||||
onclick: () => app.store.activeCollection = collection.name,
|
||||
},
|
||||
t.i({ className: () => app.collectionTypes[collection.type]?.icon || app.utils.fallbackCollectionIcon }),
|
||||
t.i({
|
||||
className: () => app.collectionTypes[collection.type]?.icon || app.utils.fallbackCollectionIcon,
|
||||
ariaHidden: true,
|
||||
}),
|
||||
t.span({ className: "txt" }, () => collection.name),
|
||||
() => {
|
||||
if (
|
||||
|
||||
Reference in new issue
Block a user