ProfessionalWiki / ProfessionalWiki/Maps

Maps on mobile cannot easily be scrolled past

Open
#599 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
78
Forks
65
Avg merge
9h 17m
Merged PRs (30d)
6

Description

Setup
  • Maps version: current master (dev)
  • MW version: current master (dev)
  • PHP version: 7.4.0
Issue

On a mobile device go to a page with a map e.g. https://sandbox.semantic-mediawiki.org/wiki/Berlin_map?useformat=mobile

Try to scroll to the bottom.

Expected: Easy peasy

Actual: As soon as the map comes into view, the map intercepts scrolling. It becomes near impossible to scroll, unless one knows to use the tiny margin space to the left or right of the map. This is particularly problematic for accessibility.

A potential fix for this would be to require a user to click to signal an intent to use the map (and allow exit). I see kartographer extension uses an overlay for this purpose (which would also be acceptable).

Suggested criteria of fix
  • I can focus and unfocus (enter/exit) the map.
  • I can scroll past the map in a similar way to an image.

Demonstration of problem:
ezgif-1-0a559a166b9c

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the scrolling behavior on the linked Berlin map page using a mobile device or viewport, then inspect the map's touch and focus interaction entry points. Done means users can focus and unfocus the map and scroll past it similarly to an image, including with accessible interaction.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
accessibility, frontend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.