Skip to content

refactor: change div to aside for accessibility in settings component#1003

Merged
doradocodes merged 5 commits into
processing:mainfrom
hxrshxz:settings-component
Mar 23, 2026
Merged

refactor: change div to aside for accessibility in settings component#1003
doradocodes merged 5 commits into
processing:mainfrom
hxrshxz:settings-component

Conversation

@hxrshxz

@hxrshxz hxrshxz commented Oct 16, 2025

Copy link
Copy Markdown
Contributor

Fixes #996

Description

I have changed the div to aside for accessibility in settings componen now it is contained in a semantic landmark and now screen reader users can efficiently navigate the page using landmark shortcuts.

Copilot AI review requested due to automatic review settings October 16, 2025 07:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves accessibility by replacing a generic div element with a semantic aside element for the Settings component. The change adds proper landmark navigation support for screen reader users without affecting visual layout or functionality.

  • Replaces div with aside element for semantic HTML
  • Adds aria-label="Settings" for better screen reader identification

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@hxrshxz

hxrshxz commented Dec 16, 2025

Copy link
Copy Markdown
Contributor Author

@coseeian Please have a look , thank you

@coseeian coseeian left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I think aside tag is a decent choice here.

@doradocodes

Copy link
Copy Markdown
Contributor

@Nwakaego-Ego also tested this locally today and it looks good. Merging this.

@doradocodes doradocodes merged commit 522b4b2 into processing:main Mar 23, 2026
4 checks passed
doradocodes added a commit that referenced this pull request Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Page Structure] Settings component lacks landmark and landmarks missing ARIA labels

4 participants