Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#10158 painless accessibility improvements #10159

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

fkellner
Copy link
Contributor

@fkellner fkellner commented Apr 4, 2024

Description

Tiny changes that improve accessibility. Should hopefully not take longer than a minute to review.

What kind of change does this PR introduce?

  • Bugfix

Issue

What is the current behavior?

#10158

Bad Lighthouse Accessibility Score

What is the new behavior?

Better Lighthouse Accessibility Score through:

  • Setting Document language
  • Fixing a heading that should be a div
  • providing a logo with an alt tag
  • linking scale label with its form element
  • enabling browser zoom

Breaking change

Does this PR introduce a breaking change?

  • No

Other useful information

Too much Zoom does seem to break the layout, but handing that responsibility to the end user is more accessible for people who need larger controls than
disabling it. Map zoom is unaffected, and since using browser zoom enlarges map controls, users who tried zooming
into the map using browser zoom should be able to notice the actual controls and recover from their mistake.

Florian Kellner added 3 commits April 4, 2024 11:23
Too much Zoom does seem to break the layout, but handing that responsibility to the end user is more accessible than
disabling it. Map zoom is unaffected, and since using browser zoom enlarges map controls, users who tried zooming
into the map using browser zoom should be able to notice the actual controls and recover from their mistake.

On Behalf of DB Systel
- Convert heading that, semantically, should not be a heading, to a div
- correctly assign label to scalebox
- add alt tag to attribution logo

On Behalf of DB Systel
@tdipisa tdipisa linked an issue Apr 4, 2024 that may be closed by this pull request
1 task
@tdipisa tdipisa added External Contribution enhancement BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch labels Apr 4, 2024
@tdipisa tdipisa added this to the 2024.01.01 milestone Apr 4, 2024
@tdipisa
Copy link
Member

tdipisa commented Apr 4, 2024

@fkellner thank you so much for your contribution. We will review as soon as possible.
@allyoucanmap, let's evaluate a possible inclusion in 2024.01.01 (waiting for the review).

@tdipisa tdipisa removed the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Apr 4, 2024
@tdipisa tdipisa removed this from the 2024.01.01 milestone Apr 4, 2024
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.

WCAG Accessibility Improvements - Low Hanging Fruits
2 participants