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 h2 for error summary heading #510

Merged
merged 1 commit into from
Jul 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/views/snippets/form_error_multiple.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{% if error %}
<div class="error-summary" role="group" aria-labelledby="error-summary-heading" tabindex="-1">

<h1 class="heading-medium error-summary-heading" id="error-summary-heading">
<h2 class="heading-medium error-summary-heading" id="error-summary-heading">
Message to alert the user to a problem goes here
</h1>
</h2>

<p>
Optional description of the errors and how to correct them
Expand Down
4 changes: 2 additions & 2 deletions app/views/snippets/form_error_multiple_show_errors.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

<div class="error-summary" role="group" aria-labelledby="error-summary-heading-example-2" tabindex="-1">

<h1 class="heading-medium error-summary-heading" id="error-summary-heading-example-2">
<h2 class="heading-medium error-summary-heading" id="error-summary-heading-example-2">
Message to alert the user to a problem goes here
</h1>
</h2>

<p>
Optional description of the errors and how to correct them
Expand Down
4 changes: 2 additions & 2 deletions app/views/snippets/form_error_radio.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{% if error %}
<div class="error-summary" role="group" aria-labelledby="error-summary-heading" tabindex="-1">

<h1 class="heading-medium error-summary-heading" id="error-summary-heading">
<h2 class="heading-medium error-summary-heading" id="error-summary-heading">
Message to alert the user to a problem goes here
</h1>
</h2>

<p>
Optional description of the errors and how to correct them
Expand Down
4 changes: 2 additions & 2 deletions app/views/snippets/form_error_radio_show_errors.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

<div class="error-summary" role="group" aria-labelledby="error-summary-heading-example-1" tabindex="-1">

<h1 class="heading-medium error-summary-heading" id="error-summary-heading-example-1">
<h2 class="heading-medium error-summary-heading" id="error-summary-heading-example-1">
Message to alert the user to a problem goes here
</h1>
</h2>

<p>
Optional description of the errors and how to correct them
Expand Down