Closed josher8 closed 1 year ago
Hey Josh. Thanks for the contribution. it looks like the change was made as part of this PR: https://github.com/jverdi/JVFloatLabeledTextField/pull/217
The goal seemed to be to ensure the label was still read aloud once text was entered in the field
Hey Josh. Thanks for the contribution. it looks like the change was made as part of this PR: #217
The goal seemed to be to ensure the label was still read aloud once text was entered in the field
Hello! On that PR, it still reads it on the voice reader. But if you have no text, and go into the accessibility inspector, you can see the accessibility label is nil. I tested this change on the voice reader, and it is still reading the label correctly. It now shows the accessibility label in the inspector.
Got it. Thanks for that added context. Yeah I think we can go ahead and merge. Thanks again for the contribution!
The text fields accessibility label only got set when text was entered, and changed to nil when there was no text. This change adds it in the setFloatingText method on init.