From 4b416ddd108cb6ae5d97898ac893f55bea3c98d5 Mon Sep 17 00:00:00 2001 From: Mike Gerow Date: Wed, 13 Jan 2021 13:51:12 -0800 Subject: [PATCH] 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. --- js/gdm/authPrompt.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index 493429000..97a705abb 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -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();