Report number of items for lists in braille#19119
Conversation
Co-authored-by: Sascha Cowley <16543535+SaschaCowley@users.noreply.github.com>
|
I've observed that, in most cases, speech and braille report the number of items in the same situations. But once I found that this was reported in speech, and in other case, this was reported in braille but not speech. I don't think we can do too much to address that infrequent situations. |
Can you document it, i.e. provide the situations that you have encountered, so that it can be decided/understood if they can be handled or not? Is it something that occurs sporadically on the same document, or is it linked to a specific document or page web where it would be 100% reproducible?
If it is the decision that is finally made, please document it in "Known issues". |
|
@CyrilleB79 , I've updated the section with known issues. |
Closes nvaccess#7455 In browse mode documents, the number of ítems for lists is not reported in braille, just via speech output. The number of ítems Will be appended to lst for lists in browse mode documents. None Use the _childcontrolcount attribute of text info fields to get the number of ítems of lists, and set the appropriate roleText when the number of ítems of a list is available. Tested locally, checking that the number of ítems is reported for lists in browse mode. In rare cases, the number of items can be reported via speech output, not in braille, or in braille, not speech. Here is an example of a webpage where the number of items is reported just via speech. I've observed this just when the list contains 1 element. In braille, in Spanish, in this webpage, pressing l to reach a list with 1 item, I read the word "fin" (end). This is not read via speech. Seems a non standard control (like an empty list inside a menu): https://duckduckgo.com/ I've seen, once, that the number of items was reported just in braille, not speech. If I find the webpage I'll include it here.
Link to issue number:
Closes #7455
Summary of the issue:
In browse mode documents, the number of ítems for lists is not reported in braille, just via speech output.
Description of user facing changes:
The number of ítems Will be appended to lst for lists in browse mode documents.
Description of developer facing changes:
None
Description of development approach:
Use the _childcontrolcount attribute of text info fields to get the number of ítems of lists, and set the appropriate roleText when the number of ítems of a list is available.
Testing strategy:
Tested locally, checking that the number of ítems is reported for lists in browse mode.
Known issues with pull request:
In rare cases, the number of items can be reported via speech output, not in braille, or in braille, not speech. Here is an example of a webpage where the number of items is reported just via speech. I've observed this just when the list contains 1 element.
In braille, in Spanish, in this webpage, pressing l to reach a list with 1 item, I read the word "fin" (end). This is not read via speech. Seems a non standard control (like an empty list inside a menu):
https://duckduckgo.com/
I've seen, once, that the number of items was reported just in braille, not speech. If I find the webpage I'll include it here.
Code Review Checklist: