Skip to content

Tooltips are inaccessible on touch devices (mobile/tablet) #107

Description

@sheikhwasimuddin

What happened

Tooltips that rely only on :hover cannot be accessed on touch devices. As a result, important information such as Distribution details, Playstyle badges, and Language tier badges is unavailable to mobile and tablet users.

Steps to reproduce

  1. Open GitFut on a mobile phone or tablet.
  2. Navigate to any page containing tooltip-enabled elements (e.g. Distribution, Playstyle, or Language tier badges).
  3. Tap the element.

Expected

The tooltip should open when the user taps the element and close when tapping outside or tapping the element again. The same information available on desktop should also be accessible on touch devices.

Actual

Nothing happens when the element is tapped because the tooltip is only triggered by hover.

Card / screenshot

Affected components include:

  • Distribution tooltip
  • Playstyle badges
  • Language tier badge

Environment

  • Browser: Chrome (Mobile)
  • OS: Android

Resolved it in PR #73

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions