a11y: some screen-readers (jaws) were accessing the filter-field even when hidden
Massimo Melina committed
Mar 18, 2024 at 18:56 UTC
e952b516b75c5c25705c84ca9bf17b3744c5fe19
1 file changed
+1
-1
frontend/src/FilterBar.ts
+1
-1
@@ -18,7 +18,7 @@ export function FilterBar() {
18
const sel = Object.keys(selected).length
19
const fil = filteredList?.length
20
const tabIndex = showFilter ? undefined : -1
21
- return h('div', { id: 'filter-bar', className: showFilter ? 'show-sliding' : 'before-sliding' },
21
+ return h('div', { id: 'filter-bar', className: showFilter ? 'show-sliding' : 'before-sliding', 'aria-hidden': !showFilter },
22
h(Checkbox, {
23
value: all,
24
tabIndex,