Course lesson
Get Elements With a Given Placeholder Text Using the byPlaceholderText Query
Sometimes your form might be missing a label. Whilst they are not a label replacement, placeholders can help give feedback about what that element should be for.
- Duration
- 1 min
- Access
- Included
- Transcript
- Retained from source evidence
Sometimes your form might be missing a label. Whilst they are not a label replacement, placeholders can help give feedback about what that element should be for.
In this lesson, we will look at another one of the queries that are part of the queries accessible to everyone's family and also helpful when dealing with forms: the byPlaceholderText query.