material-components / material-components/material-components-android
[TextInputLayout][Accessibility] Touch target hight of error message doesn't adjust
Nessuno ha ancora preso questa issue.
- Lingua principale
- Java
- Stelle
- 17.4k
- Fork
- 3.2k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Description: The touch target box hight of the error message doesn't adjust when support text with multiple lines is converted to an error message. Please follow these steps below.
- Set a support text that wraps up into multiple lines.
- Turn on the TalkBack.
- Select the support text to check the touch target area (Will notice the touch target box will take the size of multiple text lines).
- Next turn on the error state of the text input field by setting a shot error message(Message fits into one line would do it)(I did it with a button action).
- Now select the error message.
- It'll be noticed that the touch target box hight of error message will still take the space of multiple lines.

Expected behavior: The touch target box hight of the error message should adjust to fit the error message without any extra line space.
Android API version: Android API version 28
Material Library version: 1.1.0
Device: Emulator Pixel 3
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia individuando la gestione dell’accessibilità di support-text e dei messaggi di errore in TextInputLayout, quindi riproduci la transizione da un support-text multilinea a un breve messaggio di errore con TalkBack su API 28. Il lavoro è completato quando l’area touch del messaggio di errore corrisponde al suo contenuto effettivo senza mantenere l’altezza multilinea precedente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- android, java
- Ambito
- accessibility, mobile-dev
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100