nvaccess / nvda

NVDA, the free and open source Screen Reader for Microsoft Windows
https://www.nvaccess.org/
Other
2.11k stars 637 forks source link

Nvda doesn't announce rest of text if text is too long with role=textbox #14440

Open hongquan09dth5 opened 1 year ago

hongquan09dth5 commented 1 year ago

Hi Team, hope you are well. I have an div element that has an aria-readonly= true and rolex=textbox, there is a text that has three lines. I noticed when I tabbed to div element, the NVDA just only a part of the text inside the div and ignore the rest. If I used the mouse pointer to focus the text, it would read out the first line or second line or full of text depending on the place where I focused. Here is my example:

`

    <div role="textbox"  aria-labelledby="myLabel" tabindex="0" aria-readonly="true">is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div>
`

NVDA would read out:is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and and ignore the rest.

NDVA version: 2022.3.2 Microsoft browser Edge version: 108.0.1462.46 (Official build) (64-bit)

michaelDCurran commented 1 year ago

Generally the rule in NVDA has been to only report the first line of content in any element when tabbing or focusing it, as the content may be extremely long. We could revisit this decision, but as it stands this is by design.