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

Use banner to announce line endings change warning in diffs #18084

Merged
merged 3 commits into from
Jan 26, 2024

Conversation

sergiou87
Copy link
Member

@sergiou87 sergiou87 commented Jan 25, 2024

xref. https://github.com/github/accessibility-audits/issues/7012

Description

After the work from #18069 , @tidy-dev pointed out that even with that change the icon would still not be fully accessible, so she suggested to use the warning banner we have for Unicode bidi characters (included in #13343).

This PR does exactly that. However, when both warnings (Unicode bidi characters and line endings change) are present, we have considered two: warnings stacked with no separator or with separator. In the end we decided to go with separator, but we're open to hear other ideas.

Screenshots

image

Release notes

Notes: [Fixed] Promote line endings change warning from icon to a banner, improving its accessibility

@sergiou87 sergiou87 marked this pull request as ready for review January 25, 2024 17:10
Copy link
Contributor

@tidy-dev tidy-dev left a comment

Choose a reason for hiding this comment

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

✨ Looks great! Thanks for doing one more iteration on the solution. :)

@sergiou87 sergiou87 merged commit 211ef8f into development Jan 26, 2024
7 checks passed
@sergiou87 sergiou87 deleted the eol-changes-warning-banner branch January 26, 2024 09:51
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.

2 participants