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

[Accessibility fixes] #1268

Merged
merged 4 commits into from
Sep 12, 2024
Merged

[Accessibility fixes] #1268

merged 4 commits into from
Sep 12, 2024

Conversation

jpg619
Copy link
Contributor

@jpg619 jpg619 commented Sep 10, 2024

WHAT

This pull request includes changes to enhance the user interface and improve code readability in the src/components/page-footer.js and src/mdx/code.js files. The most important changes involve modifying the display of the latest commit information and enhancing the styling of code comments.

User Interface Enhancements:

Code Readability Improvements:

  • src/mdx/code.js: Enhanced the MonoText component to apply a specific color (#747459) to comments within code blocks. This change ensures that comments are visually distinct from other code elements.

WHY

This PR includes changes regarding accessibility bug fixes.

Change 1: The text comment colour is changed for better accessibility.

image image

Change 2: From the text Last edited by the muted colour is removed for better colour contrast ratio.

image image

@jpg619 jpg619 changed the title empty commit [Accessibility fixes] Sep 11, 2024
@wraithgar wraithgar marked this pull request as draft September 11, 2024 18:30
@jpg619 jpg619 self-assigned this Sep 11, 2024
Copy link

@leobalter leobalter left a comment

Choose a reason for hiding this comment

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

Color changes LGTM, I'm not qualified to approve the other code changes.

@wraithgar wraithgar merged commit e3a4996 into main Sep 12, 2024
9 checks passed
@wraithgar wraithgar deleted the jpg619/fix-accessibility-bugs branch September 12, 2024 16:41
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.

3 participants