Skip to content

Commit

Permalink
Merge pull request #952 from alphagov/fix-cookie-confirmation
Browse files Browse the repository at this point in the history
Fix cookie confirmation for screenreaders
  • Loading branch information
Vanita Barrett authored Jun 25, 2019
2 parents ce633f7 + 3d19059 commit c6ea893
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
useful summary for people upgrading their application, not a replication
of the commit log.

## Unreleased

* Fix confirmation message being read to screenreaders (PR #952)

## 17.6.0

* Add landmark to cookie banner (PR #949)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
message = cookie_banner_helper.message
%>

<div id="<%= id %>" class="<%= cookie_banner_class %>" data-module="cookie-banner" aria-live="polite" role="region" aria-label="cookie banner">
<div id="<%= id %>" class="<%= cookie_banner_class %>" data-module="cookie-banner" role="region" aria-label="cookie banner">
<div class="gem-c-cookie-banner__wrapper govuk-width-container">
<p class="gem-c-cookie-banner__message"><%= message %></p>
<% if new_cookie_banner %>
Expand Down

0 comments on commit c6ea893

Please sign in to comment.