Merge pull request #8116 from tchak/fix-remove-empty-id

fix(a11y): erreurs code source (Critère 8.2)
This commit is contained in:
Paul Chavard 2022-11-24 16:02:25 +01:00 committed by GitHub
commit dc9480293c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@
- elsif nav_bar_profile == :instructeur
= render partial: 'shared/help/help_dropdown_instructeur'
- else
%li= render partial: 'shared/help/help_button'
= render partial: 'shared/help/help_button'

View file

@ -35,7 +35,7 @@
= yield(:invisible_captcha_styles)
%body{ id: content_for(:page_id), class: browser.platform.ios? ? 'ios' : nil }
%body{ { id: content_for(:page_id), class: browser.platform.ios? ? 'ios' : nil }.compact }
= render partial: 'layouts/skiplinks'
.page-wrapper
= render partial: "layouts/outdated_browser_banner"