RFR: 8167: [Accessibility]: 'Click here to start using JDK Mission Control' button does not have any function to open JDK mission control

Suchita Chaturvedi schaturvedi at openjdk.org
Mon Jan 29 03:58:36 UTC 2024


On Thu, 25 Jan 2024 14:55:00 GMT, Alex Macdonald <aptmac at openjdk.org> wrote:

>> On Welcome page, User move focus to "Click here to start using JDK Mission Control" button and press Enter but it does not have any function to open JDK mission control.
>> 
>> This issue was reported as part of accessibility testing requirement. From the accessibility point of view, the user will be stuck on welcome page and won't be able to proceed further.
>> 
>> <img width="959" alt="image" src="https://github.com/openjdk/jmc/assets/11155712/605ba3a3-991d-4367-8f30-6bbf8a3db56f">
>
> I tried out this PR and it looks to work, but I also opened up jmc 8.3.0 and it also worked. It looks like there's two elements in the area of this button, and hitting enter only works if it's on the later of the two. See below:
> 
> I have opened the welcome page and hit "tab" until I start focusing the html components. Once I get closer to the button, there are two components that can be focused, but only the last one works:
> 
> Hitting enter on this focused element does nothing:
> ![Screenshot from 2024-01-25 09-47-18](https://github.com/openjdk/jmc/assets/10425301/8f281da2-1089-47f9-90d4-857772c220b5)
> 
> Hitting enter on this element is what works:
> ![Screenshot from 2024-01-25 09-47-21](https://github.com/openjdk/jmc/assets/10425301/8c350cc3-9cc2-4ce1-8634-6bef0e9f6571)
> 
> Edit: thinking a bit more .. could this inconsistency be due to the SWT browser? I tested this on Linux, what OS did you write this patch against? If this PR is what makes the enter key work for a specific browser then that'd be a good improvement.

@aptmac Thanks for the review. The issue was raised for Windows and Mac. I have written and tested on windows.

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

PR Comment: https://git.openjdk.org/jmc/pull/547#issuecomment-1913918314


More information about the jmc-dev mailing list