Questions tagged [focusable]

77 questions
0
votes
2 answers

Accessibility: aria-hidden="true" (hide for screen readers) with focusable elements (allow keyboard access)

I want to hide this theme-switcher div from screen readers, as they are needed to change the theme colours. But it should be focusable for keyboard users. My problem is, it is not allowed to have focusable elements inside an aria-hidden node. Is…
0
votes
1 answer

Is there a way to make EditText focusable with disabled focusableInTouchMode?

I have some EditTexts, and I want to control their focus order programmatically. However, EditText will get focus when touched by default, so this will break the order. I have tried to make EditText's focusableInTouchMode false, but it never got…
Alan W.
  • 4,566
  • 2
  • 15
  • 26
0
votes
2 answers

How do I scroll a JPanel with keyboard, while other components have focus?

I've been looking for a solution for this, I think, very common, problem, with Java Swing, but can't find specific answers. I have this Swing JPanel with a scrollable JPanel on top, showing an image of a document. Below there is more Swing…
PeJ
  • 1
  • 1
0
votes
2 answers

Receiving Focus Change Events for a dynamic TableRow

I have a TableLayout that is focusable. I dynamically add to TableRows to this TableLayout. Although I can get the TableRow, and its contents (a few TextViews), to respond to Touch events, I can't get any of them to respond to Focus events. Aside…
Jay Bose
  • 1,511
  • 2
  • 11
  • 14
0
votes
1 answer

android i`importantForA11y=false` vs. `setConentDescription=@null` vs. `focusable=false`

I can see importantForA11y is for minSdk=6+ But why would one have to use it, if they can just use setConentDescription=@null? What is the difference between importantForA11y=false vs. setConentDescription=@null vs. focusable=false
Elad Benda
  • 35,076
  • 87
  • 265
  • 471
0
votes
0 answers

How do I override a Java KeyListener in a window?

So I am writing a simple fighting game in Java that includes both a title screen JPanel, as well as a Playspace JPanel. I have been experiencing some issues with getting the Playspace's KeyListener to work after adding the title screen. I have tried…
0
votes
2 answers

Can't catch error: An invalid form control with name is not focusable

JS try catch does not handle the form submission error "An invalid form control with the name 'somename' is not focusable. I have a tabbed page that shares one submit. When the page loads, the hidden, required field causes bad validation when I move…
0
votes
1 answer

How to prevent disabled edittext from gaining focus?

Scenario: A sign up page with username and password edittexts. Enable password only when username entered is valid. Layout XML:
Abhimanyu
  • 11,351
  • 7
  • 51
  • 121
0
votes
2 answers

showing the keyboard on a button click and showing some text in a textview

In my activity there is a button and a textview .What I am trying is when the user clicks on a button the keyboard shows up ,and whatever the user types there that text should be displayed in textview.I'm able to show keyboard on button click but…
Neha
  • 389
  • 4
  • 8
  • 24
0
votes
1 answer

How to set all Controls in wpf to unfocusable?

I have a wpf application and I want to set everything to Focusable="false". Is there an easy and elegant way? Currently I made a style for each type of Control I use like this: