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

Success message gets focused and document title prefix #963

Merged
merged 1 commit into from Dec 20, 2019
Merged

Conversation

adamsilver
Copy link
Contributor

@adamsilver adamsilver commented Dec 20, 2019

Context

Addresses ticket 683, the accessibility fail from DAC.

Before (not focused):
image

After (focused):
image

@adamsilver adamsilver requested a review from fofr December 20, 2019 14:31
@tvararu tvararu temporarily deployed to apply-for-te-focus-flas-a1nufn December 20, 2019 14:33 Inactive
Copy link
Contributor

@tvararu tvararu left a comment

Choose a reason for hiding this comment

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

🚢

@tvararu tvararu merged commit 8107702 into master Dec 20, 2019
@tvararu tvararu deleted the focus-flash branch December 20, 2019 16:55
@@ -16,7 +16,7 @@
</div>
</div>
<% elsif flash[:success] %>
<div class="app-banner app-banner--success" aria-labelledby="success-message">
<div class="app-banner app-banner--success" aria-labelledby="success-message" data-module="govuk-error-summary" tabindex="-1">
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this also need role=alert?

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.

None yet

3 participants