Closed Bug 1255148 Opened 10 years ago Closed 6 years ago

Add feature detection for touch

Categories

(developer.mozilla.org Graveyard :: Design, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: shobson, Unassigned)

References

Details

(Keywords: in-triage)

We are currently hiding and showing certain features that are intended for touch interfaces or work badly on touch interfaces based on screen size. That's silly, screen size tells us nothing about whether or not it's a touch interface. Detecting touch is more of an art than a science at the moment but I think we can do better than we are. Modernizer has some tests and they can be combined with waiting for a user to trigger a touch event and then setting a cookie or local storage setting to remember they have touch capabilities. Some features that could take advantage of these tests: - the close buttons on drop down menus - edit button on articles
Blocks: 1218669
Assignee: nobody → shobson
Assignee: shobson → nobody
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.