Skip to content

Announce poll validation errors to screen readers - #2055

Open
mehranlatifi83 wants to merge 1 commit into
DrKLO:masterfrom
mehranlatifi83:fix/talkback-poll-create-errors-unheard
Open

mehranlatifi83 wants to merge 1 commit into
DrKLO:masterfrom
mehranlatifi83:fix/talkback-poll-create-errors-unheard

Conversation

@mehranlatifi83

@mehranlatifi83 mehranlatifi83 commented Sep 4, 2026 •

Copy link
Copy Markdown

Problem

Pressing Create on a quiz with no correct answer marked does nothing except show a hint bubble next to the answers for two seconds. The same happens for an option that has media but no text. Hint bubbles are not focused or announced, so TalkBack users get no reason why Create does nothing.

Before pressing, the Create button is just dimmed, and TalkBack only says "disabled".

Fix

  • HintView: announce the hint text when a hint is shown. All hints in the app go through this, so all of them are now announced.
  • Create button (ChatAttachAlert, ChatAttachAlertPollLayout, PollCreateActivity): include the first missing requirement in its description, in the order the form is filled in (question, options, correct answer and so on).

Applies to checklists too.

Testing

With TalkBack on, create a quiz with a question and two options, mark none as correct, and press Create.

Before: nothing was announced. After: the hint is read when it appears, and before pressing, the button says what is missing.

@mehranlatifi83
mehranlatifi83 force-pushed the fix/talkback-poll-create-errors-unheard branch from 192fb41 to 709812a Compare September 18, 2026 09:50
@mehranlatifi83
mehranlatifi83 force-pushed the fix/talkback-poll-create-errors-unheard branch from 709812a to 2997a9f Compare September 27, 2026 10:45
Pressing Create on a quiz with no answer marked right does nothing at
all: a bubble appears beside the answers saying to mark one, and takes
itself away again after a couple of seconds. The same happens for an
option that carries a picture but no words. A bubble is not focused and
says nothing, so what it holds — which here is the reason a press did
nothing — never reaches a screen reader.

Read a hint out when it appears. That is what it is for, and every hint
in the app is put on the screen through the same two places, so all of
them are read.

Before that, the button is simply dimmed, and a dimmed button says it is
disabled and nothing more. What is missing is only ever shown: a count
turning red, an answer left unmarked. Say the first thing standing in the
way as part of the button. It is noted where the screen itself decides
that the button cannot be pressed, so the reason and the rule are one and
the same and cannot come apart.

The screen that makes a checklist has the same button and the same
silence, and gets the same.
@mehranlatifi83
mehranlatifi83 force-pushed the fix/talkback-poll-create-errors-unheard branch 2 times, most recently from f2d11fd to 397c4c2 Compare October 1, 2026 23:01
@mehranlatifi83 mehranlatifi83 changed the title Say why a poll cannot be sent yet Oct 1, 2026
@mehranlatifi83
mehranlatifi83 force-pushed the fix/talkback-poll-create-errors-unheard branch from 397c4c2 to 1eb7398 Compare October 13, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant