AntonKhorev left a comment (openstreetmap/openstreetmap-website#6062)

> The only real use I could think of was accessibility but the actual links 
> aren't numbered once they're filled in so it doesn't seem like it helps with 
> relating them to the remove buttons.

Placeholders are announced by screen readers (at least the on that comes with 
Ubuntu) even when not visible. But `<label>` is announced too and may take 
precedence. Now I removed `<label>`s from `.html.erb` and I'm labelling the 
inputs with `placeholder` and `aria-label` attributes, like GitHub does in this 
form:
![image](https://github.com/user-attachments/assets/841635ea-86ef-46fa-9d91-072aa592f179)


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6062#issuecomment-2919329923
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/6062/c2919329...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to