mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
authPrompt: Set accessible_name to prompt question.
This ensures screen readers read out the actual prompt (username, password, etc). Without this Orca simply reads the username field as "Text field", and any custom PAM prompts are unknowable.
This commit is contained in:
parent
8f9cc4b5c2
commit
4b416ddd10
1 changed files with 1 additions and 0 deletions
|
|
@ -376,6 +376,7 @@ var AuthPrompt = GObject.registerClass({
|
|||
|
||||
setQuestion(question) {
|
||||
this._entry.hint_text = question;
|
||||
this._entry.set_accessible_name(question);
|
||||
|
||||
this._entry.show();
|
||||
this._entry.grab_key_focus();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue