(frontend) add default background to left panel for better a11y

defined a default background color to prevent issues with user stylesheets

Signed-off-by: Cyril <c.gromoff@gmail.com>
This commit is contained in:
Cyril
2025-09-23 09:30:58 +02:00
parent 3607faa475
commit f337a2a8f2
2 changed files with 2 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ and this project adheres to
- ♿ add pdf outline property to enable bookmarks display #1368
- ♿ hide decorative icons from assistive tech with aria-hidden #1404
- ♿ remove redundant aria-label to avoid over-accessibility #1420
- ♿ add default background to left panel for better accessibility #1423
### Fixed

View File

@@ -43,6 +43,7 @@ export const LeftPanel = () => {
min-width: 300px;
overflow: hidden;
border-right: 1px solid ${colorsTokens['greyscale-200']};
background-color: ${colorsTokens['greyscale-000']};
`}
className="--docs--left-panel-desktop"
>