RFR: 8167: [Accessibility]: 'Click here to start using JDK Mission Control' button does not have any function to open JDK mission control
Alex Macdonald
aptmac at openjdk.org
Thu Jan 25 14:59:40 UTC 2024
On Thu, 25 Jan 2024 09:34:39 GMT, Suchita Chaturvedi <schaturvedi 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:

Hitting enter on this element is what works:

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.
-------------
PR Comment: https://git.openjdk.org/jmc/pull/547#issuecomment-1910372410
More information about the jmc-dev
mailing list