Skip to content

Commit

Permalink
ER-1187 Aria landmark update (#1215)
Browse files Browse the repository at this point in the history
* Aria landmark update
* Update to keep styling but remove main for specific line
* Styling update
* Update to remove deprecated feature
* Update padding for main in application layout
  • Loading branch information
martikat authored Jun 11, 2024
1 parent b7b065a commit dabf67c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ html.govuk-template lang='en'
.govuk-width-container
= render 'layouts/banner'

main#main-content.govuk-main-wrapper role='main'
main role='main' class='govuk-!-padding-top-7 govuk-!-padding-bottom-7'
= render 'layouts/flash'

= yield
Expand Down
16 changes: 8 additions & 8 deletions app/views/layouts/hero.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ html.govuk-template lang='en'

= navigation

.dfe-content-page--header class='govuk-!-padding-bottom-4'
.dfe-width-container
= render 'layouts/banner'
main role='main'
.dfe-content-page--header class='govuk-!-padding-bottom-4'
.dfe-width-container
= render 'layouts/banner'

.noprint= back_link
.noprint= back_link

= render 'layouts/flash'
= render 'layouts/flash'

= yield :hero
= yield :hero

.dfe-width-container
main#main-content.govuk-main-wrapper role='main'
.dfe-width-container class='govuk-!-padding-top-7 govuk-!-padding-bottom-7'
= yield

= render 'layouts/footer'

0 comments on commit dabf67c

Please sign in to comment.