Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix accessibility] severity 4 Issues (#1352)
## WHAT This pull request includes a few changes to the `src/components/site-title.js` and `src/layout.js` files to improve the layout and structure of the components. Layout improvements: * [`src/layout.js`](diffhunk://#diff-a6d4de2cc6c8127b7cbdf668554367b396b50bea26c46bb805d3bc4d43108994L42-L50): Reordered the `TableOfContents.Desktop` component to be placed after the `Container` component and removed the `flexDirection: 'row-reverse'` style. [[1]](diffhunk://#diff-a6d4de2cc6c8127b7cbdf668554367b396b50bea26c46bb805d3bc4d43108994L42-L50) [[2]](diffhunk://#diff-a6d4de2cc6c8127b7cbdf668554367b396b50bea26c46bb805d3bc4d43108994R61) Code cleanup: * [`src/components/site-title.js`](diffhunk://#diff-c25bc0f69ad33508e676865af1c416298095475f259f0a06c386d0b5d9e4b294L7-R7): Removed the redundant `role="banner"` attribute from the `Box` component. ## BEFORE & AFTER <img width="375" alt="image" src="https://github.com/user-attachments/assets/b9b7c958-3b52-44f8-abd7-5938c909f48e"> <img width="375" alt="image" src="https://github.com/user-attachments/assets/d6093bf3-8ccb-4abe-a828-c7be5443bd79">
- Loading branch information