webui : improve accessibility for visually impaired people (#13551)

* webui : improve accessibility for visually impaired people

* add a11y for extra contents

* fix some labels being read twice

* add skip to main content
This commit is contained in:
Xuan-Son Nguyen 2025-05-16 21:49:01 +02:00 committed by GitHub
parent 06c1e4abc1
commit aea9f8b4e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 147 additions and 48 deletions

View file

@ -38,8 +38,12 @@ export default function Header() {
{/* action buttons (top right) */}
<div className="flex items-center">
<div className="tooltip tooltip-bottom" data-tip="Settings">
<button className="btn" onClick={() => setShowSettings(true)}>
<div
className="tooltip tooltip-bottom"
data-tip="Settings"
onClick={() => setShowSettings(true)}
>
<button className="btn" aria-hidden={true}>
{/* settings button */}
<Cog8ToothIcon className="w-5 h-5" />
</button>