fix(a11y/html): add role=main on main content
This commit is contained in:
parent
f4c76ca677
commit
4535810ed4
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@
|
|||
Env Test
|
||||
|
||||
= render partial: "layouts/header"
|
||||
%main
|
||||
%main{ role: :main }
|
||||
= render partial: "layouts/flash_messages"
|
||||
= content_for?(:content) ? yield(:content) : yield
|
||||
|
||||
|
|
Loading…
Reference in a new issue