web: empty() always speaks its label
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint) (push) Waiting to run
Tests / test (push) Waiting to run
Tests / web-coverage (push) Waiting to run
repo-contract / repo contract (push) Waiting to run

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Krzysztof Rudnicki 2026-11-11 02:26:15 +01:00
parent ca59039ba0
commit 582ce6b2b6

View File

@ -68,7 +68,7 @@ export function empty(label: string): HTMLParagraphElement {
'p',
{ class: 'empty', 'aria-label': label },
h('span', { class: 'empty-icon', 'aria-hidden': 'true' }, '📭'),
...(label ? [h('span', { class: 'sr-only' }, label)] : []),
h('span', { class: 'sr-only' }, label),
)
}