Skip to content

Commit

Permalink
Mark banner as English language and enforce left-to-right flow.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgds committed Jul 16, 2019
1 parent 7fcff34 commit f007c73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/assets/stylesheets/components/_banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@include responsive-bottom-margin;
@include core-19;
@include white-links;
direction: ltr;
background: $govuk-blue;
color: $white;
padding: govuk-spacing(3);
Expand Down
2 changes: 1 addition & 1 deletion app/views/components/_banner.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<%= text %>
</p>
<% end %>
<section class="app-c-banner<% if aside %> app-c-banner--aside<% end %>" aria-label="Notice">
<section class="app-c-banner<% if aside %> app-c-banner--aside<% end %>" aria-label="Notice" lang="en">
<%= content_block %>
<% if aside %>
<p class="app-c-banner__desc"><%= aside %></p>
Expand Down

0 comments on commit f007c73

Please sign in to comment.