Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/blockly/core/field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,11 @@ export abstract class Field<T = any>
* entirely when there may be a better contextual placeholder to use, instead,
* specific to the field.
*
* For example, a text input field may have a value of null when empty. To
* avoid hiding this field from screen reader, implementations should ensure
* that if the value is null, this function would return an appropriate,
* localized value such as "empty text".
*
* Implementations are responsible for, and encouraged to, return a localized
* version of the ARIA representation of the field's value.
*
Expand Down
Loading