XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: High High
    • None
    • Android
    • S8, S22 SIMPLY Oct18-Oct31, S24 SIMPLY Nov 15 - Nov 28, S25 SIMPLY Nov 29 - Dec 11

      Sleep

      Sleep icon/button in menu has no label when no sleep timer is set

      Set Label as “Set Sleep Timer”

      Button for sleep timer menu needs better accessible label when no sleep timer is set. Ie default state on opening a book, when sleep timer is turned off, or when runs out of time.
      Currently, when using a screenreader, there is no label for the sleep timer when sleep timer is off.

      The button is styled as a crescent moon overlaid with the current rate.
      The button is semantically and interactive button and so the screenreader adds that information in. If we add a label, what will actually be read out is something like "Sleep timer, double tab to activate" (language pending different screenreaders.) So we don't need to worry about including anything like "button" in the accessible label.

      Mark's investigations have found an accessibility limitation where we cannot overwrite text with an accessible label.

      "Unfortunately, it seems like this one just isn't possible. We are definitely setting the "content description" (the bit that's read out by the screen reader) to the correct "one and a half times playback speed" string, but it seems that Android ignores those for text views and just uses the content of the text view instead. This means that it'll just say 1.0x → "one point oh ecks" because that's what the onscreen text says."

      We are not able to addess this issue with the existing api and to add that enhancement will need to rethink design.

            markraynsford Mark Raynsford
            emiliefranchomme Emilie Franchomme [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: