---
title: "cy.getByLabel(): Find form fields by their label"
url: "https://www.cypress.io/roadmap/cy-getbylabel"
description: "cy.getByLabel() will find form fields by the label text your users read, so you can select inputs without relying on IDs, classes, or test attributes. It…"
---

# cy.getByLabel(): Find form fields by their label

Planned

`cy.getByLabel()` will find form fields by the label text your users read, so you can select inputs without relying on IDs, classes, or test attributes. It builds on `cy.getByRole()` and removes another reason to add a third-party plugin for accessible queries.