Skip to content

Commit

Permalink
Merge pull request #2014 from betagouv/1988-accessibility-lieux_path
Browse files Browse the repository at this point in the history
1988 accessibility lieux path
  • Loading branch information
rebeccadumazert authored and n-b committed Jan 19, 2022
2 parents a895fc7 + 1c7e0f4 commit d0b7561
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/_flash.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
.row.mt-2
.col-md-12
.d-print-none.alert.alert-dismissible.fade.show class=alert_class_for(type)
a.close(href="#" data-dismiss="alert")
a.close(href="#" data-dismiss="alert" aria-label='Close')
i.fa.fa-times
= flash[type]
5 changes: 5 additions & 0 deletions spec/features/accessibility/user_pages_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@
visit accessibility_path
expect(page).to be_axe_clean
end

it "lieux_path page is accessible" do
visit lieux_path
expect(page).to be_axe_clean
end
end

0 comments on commit d0b7561

Please sign in to comment.