Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improvement: Add text to mobile nav button.#5555

Merged
amercader merged 2 commits into
ckan:masterfrom
boykoc:patch-2
Sep 22, 2020
Merged

Improvement: Add text to mobile nav button.#5555
amercader merged 2 commits into
ckan:masterfrom
boykoc:patch-2

Conversation

@boykoc
Copy link
Copy Markdown
Contributor

@boykoc boykoc commented Aug 21, 2020

Add aria attribute and accessible screen reader text to the mobile nav button as per BootStrap 3 docs.
https://getbootstrap.com/docs/3.3/components/#navbar

Fixes #

Proposed fixes:

Make mobile nav button more accessible. Backport to 2.8 would be nice.

Features:

  • includes tests covering changes
  • includes updated documentation
  • includes user-visible changes
  • includes API changes
  • includes bugfix for possible backport

Please [X] all the boxes above that apply

Add aria attribute and accessible screen reader text to the mobile nav button as per BootStrap 3 docs.
https://getbootstrap.com/docs/3.3/components/#navbar
Comment thread ckan/templates/header.html Outdated
<div class="navbar-right">
<button data-target="#main-navigation-toggle" data-toggle="collapse" class="navbar-toggle collapsed" type="button" aria-label="expand or collapse">
<button data-target="#main-navigation-toggle" data-toggle="collapse" class="navbar-toggle collapsed" type="button" aria-label="expand or collapse" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be translated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@amercader amercader self-assigned this Aug 25, 2020
@boykoc
Copy link
Copy Markdown
Contributor Author

boykoc commented Aug 26, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants