fix(a11y/html): add role=main on main content

This commit is contained in:
Colin Darie 2022-08-30 16:18:08 +02:00
parent f4c76ca677
commit 4535810ed4

View file

@ -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