Summary
MaterialPinField exposes an enabled parameter that allows users to disable the widget when enabled: false. However the screen readers continue to read the default hardcoded semanticLabel "6-digit PIN code field" and then "Text field is editing. Insertion point at start" and the hardcoded semanticHint "Enter 6 more digits".
Current behavior
For a visually impaired user it seems that the field can be edited but it is not true.
Expected behavior
The screen reader should be able to detect the non-editability of the PIN code field and to read aloud something like "Text field, dimmed" (as for a CONFIRM button "Confirm, dimmed, button") automatically (and not hardcoded) in the language set in the OS.
Summary
MaterialPinFieldexposes anenabledparameter that allows users to disable the widget whenenabled: false. However the screen readers continue to read the default hardcoded semanticLabel "6-digit PIN code field" and then "Text field is editing. Insertion point at start" and the hardcoded semanticHint "Enter 6 more digits".Current behavior
For a visually impaired user it seems that the field can be edited but it is not true.
Expected behavior
The screen reader should be able to detect the non-editability of the PIN code field and to read aloud something like "Text field, dimmed" (as for a CONFIRM button "Confirm, dimmed, button") automatically (and not hardcoded) in the language set in the OS.