Skip to content
This repository was archived by the owner on Nov 11, 2021. It is now read-only.
This repository was archived by the owner on Nov 11, 2021. It is now read-only.

Puppy Cam: login text fields don't have labels #231

Open
@dstorey

Description

@dstorey

Both the username and password don't have a label. It looks like there is an aria-labelledby, but I can't find an element with that ID when searching the DOM, and F12 accessibility tree shows the accName as empty.

Even if there is an element that aria-labelledby is pointing to, it is probably better to use a real visible label element, as the visual placeholder disappears after some text has been entered (which in this demo there is already prefilled text). This causes usability issues for people with cognitive disabilities.

As an aside, the email/phone input uses input type="email" which isn't correct if it should also accept a phone number. Validation will stop you adding a phone number, and it will tell the screen reader it is only for email addresses.

TL;TR: remove aria-labelledby and add real visable label elementsand for attribute. Change username field to not use type="email"

@AngeloKai

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions