Commit d675805
authored
[Fix Accessibility] Remove redundant role attribute from sidebar navigation list (npm#1726)
## Accessibility Improvements and UI Refinements ### File Changes: 1. `sidebar.js` - Removed redundant `role="list"` attribute from sidebar navigation container 2. `src/mdx/inline-code.js` - Adjusted inline code font size from 85% to 80% for better visual consistency ### Summary: This PR removes a redundant accessibility role attribute from the sidebar navigation and fine-tunes inline code styling to improve both accessibility compliance and visual presentation. ### Screenshots <img width="732" height="190" alt="image" src="https://github.com/user-attachments/assets/614eef9d-57b9-4895-9b9a-80e5235f6f2e" /> <img width="370" height="310" alt="image" src="https://github.com/user-attachments/assets/d332fcef-4374-402e-9bb0-6acb2cd4aea3" /> <img width="370" height="310" alt="image" src="https://github.com/user-attachments/assets/9ba9c755-2a9f-4144-86aa-603e5307a6d6" />1 parent 5759a42 commit d675805
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments