Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
yieldcrv
30 days ago
|
parent
|
context
|
favorite
| on:
Bruno Simon – 3D Portfolio
Safari highlighted something and it highlighted the whole screen and I couldnt get it to unselect
jama211
30 days ago
[–]
That’s a classic issue with these, and often not solvable by the web developer - an issue with mobile browsers themselves that’s hard to get around
animuchan
30 days ago
|
parent
[–]
It's trivially solvable with CSS though, isn't it? See the beginning of this stylesheet for example:
https://github.com/mvasilkov/board2024/blob/master/out/app.c...
— this is from my small 2024 game.
jama211
23 days ago
|
root
|
parent
|
next
[–]
Alas no, it doesn’t solve it for all browsers/use cases.
ffsm8
30 days ago
|
root
|
parent
|
prev
[–]
You mean the select: none, along with the drag setting?
If so, that's not necessarily followed/applied for accessibility reasons
animuchan
30 days ago
|
root
|
parent
[–]
If your game is essentially a single canvas element, having it user-selectable clearly doesn't help accessibility in any way.
ffsm8
30 days ago
|
root
|
parent
[–]
You say that as if I've got any control over the browser on the end users device, some of which will be configured to not apply these rules globally for accessibility reasons...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: