Skip to content

Commit

Permalink
Merge pull request #349 from frankieroberto/remove-tabindex-from-erro…
Browse files Browse the repository at this point in the history
…r-summary

Remove tabindex from Error Summary
  • Loading branch information
peteryates committed Feb 10, 2022
2 parents 18abfc2 + 288b180 commit d5d2dfe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ def object_has_errors?
def options
{
class: classes,
tabindex: -1,
role: 'alert',
data: {
module: %(#{brand}-error-summary)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
'div',
with: {
class: 'govuk-error-summary',
tabindex: '-1',
role: 'alert',
'data-module' => 'govuk-error-summary'
}
Expand Down

0 comments on commit d5d2dfe

Please sign in to comment.