Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE#1910][MAS4.2.10][Focus Order - Connect the bot] In JSON tab, the focus goes on the hidden controls #1982

merged 2 commits into from Nov 13, 2019


Copy link

denscollo commented Nov 12, 2019

Solves #1910


Fixes how the focus goes to the three hidden buttons on the JSON Inspector pane.

Changes made

In the Inspector component, we added two attributes to the accessory buttons when these are disabled. These attributes are TabIndex=-1 and aria-hidden=true. This way, the focus won't go to these buttons while they are disabled, only in Debug Mode when they get enabled.

Additionally, we noticed that this issue was happening on windows as well. The same solution applies to the three platforms, Windows, MacOS, and Linux.


In the following images, you can see how the focus goes to the accessory buttons only in Debug Mode when they are enabled:



Copy link

tonyanziano left a comment


@tonyanziano tonyanziano merged commit cb8b890 into master Nov 13, 2019
2 checks passed
2 checks passed
Emulator-CI-PR #89620 succeeded with issues
license/cla All CLA requirements met.
@tonyanziano tonyanziano deleted the fix/focus-going-hidden-buttons branch Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.