Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve table accessibility and semantic HTML structure #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

waarissyb
Copy link
Contributor

This change collectively aims to enhance the user experience through improved accessibility, more efficient code, and better visual presentation of content. The initial idea was to reduce the amount of HTML elements within the column of the namesake. The total elements within the table element went down from 5868 to 4574.

  • Associate data cells with their appropriate headers to improve accessibility for screen readers
  • Streamline HTML structure by reducing the number of tags and utilising the <mark> element where appropriate
  • Update tests to reflect changes in the HTML structure
  • Enhance table styling for better visual presentation and readability
  • Implement semantically correct HTML elements for side comments

- Associate data cells with their appropriate headers to improve accessibility for screen readers
- Streamline HTML structure by reducing the number of tags and utilising the `<mark>` element where appropriate
- Update tests to reflect changes in the HTML structure
- Enhance table styling for better visual presentation and readability
- Implement semantically correct HTML elements for side comments
@waarissyb waarissyb force-pushed the table-accessibility-improvements branch from 197167a to c83477e Compare March 22, 2024 18:09
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.

1 participant