On Thu, 6 Aug 2026 18:57:51 GMT, Alexander Zuev <[email protected]> wrote:

>> - To preserve functionality the separate native peers for tables and lists 
>> are created;
>> - The list peer for now reports its role as a table for backward 
>> compatibility, that can be changed later;
>> - Fixed the long existed bug where table reported incorrectly currently 
>> selected rows;
>> - Added accessibilityFocusedUIElement to AccessibleBase;
>> - Added functionality for array attribute count and array attribute values 
>> retrieval to AccessibleBase;
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Alexander Zuev has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Fixing the performance on the large tables and lists. In order to do so:
>   - Always return the NSArray of the appropriate size, otherwice VO reports 
> the table size incorrectly;
>   - To avoid querying of the entire content of the control fill in only 
> visible rows +/- additional 10 to avoid incorrect reporting due to the VO 
> caching when navigating with VO controls beyond the visible range;
>   - To request the visible range from the control's skin a new a11y attribute 
> added - VISIBLE_ITEM_RANGE. Since outside of the MacOS it is not used that 
> will not create any problems on other platforms;

Noted a weird thing (though pre-existing in master): after a cell in the 
`ListView` is edited, it cannot receive accessibility focus rectangle and the 
content of it does not announce:

<img width="403" height="137" alt="Screenshot 2026-08-11 at 10 13 16" 
src="https://github.com/user-attachments/assets/1c680e8c-94de-4c19-98d8-4d6141593dd4";
 />

also, the tooltip shows `edit to 'update' to commit the change` which is 
confusing and makes little sense.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/2217#issuecomment-5256470662

Reply via email to