All Questions
149
questions
1
vote
1
answer
170
views
How to shift focus and undo focus from one widget to other in flutter?
I've been new to flutter, and I am learning right now how this focus works?
So far from ai chats and stackoverflow [links][1] (one of the best links I found) I have come to know about `focusnode` but ...
0
votes
1
answer
70
views
Pseudo :focus-within not working in Safari
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<...
0
votes
1
answer
149
views
When navigating with a keyboard, using space to select a button I lose the browser's native focus indicator
Our app has buttons that zoom in, zoom out and reset zoom on a map. My problem is that the buttons do not retain the focus indicator after they have been activated by the space-bar. They do however ...
5
votes
1
answer
2k
views
How to set focus to button in react and material ui on Dialog properly?
When I used code :
<DialogActions>
<Button onClick={handleClose}>Disagree</Button>
<Button onClick={handleClose} autoFocus&...
0
votes
0
answers
82
views
Tab-Menu, Javascript, Focus
I have a little problem with my tab menu. Namely, the buttons lose focus as soon as the visitor clicks anywhere on the website. I am aware that this is normal, but I would like to keep the focus or ...
0
votes
1
answer
799
views
Android accessibility: Read hidden text after click of button
So I have a requirement around accessibility wherein a button needs to be read out when it comes in focus and then another text to be read out after user clicks on it.
For example,
An "OK" ...
1
vote
1
answer
183
views
Focus on buttons working in console, but not elsewhere?
I have 4 buttons, that when clicked I am attempting to set focus on them, so the user can see which button is currently active.
For some reason it appears to be working in console as expected, when a ...
0
votes
2
answers
221
views
Setting focus on <button> and making the button show focus (highlighted)
My code is simple:
<html>
<body>
Test
<br>
<button onclick="document.getElementById('btn2').focus();">Button 1</button>
<br>
<...
0
votes
0
answers
98
views
Win32 buttons (BS_DEFPUSHBUTTON) have shadow until at least one button gets focused
Pretty much the title. When I start the application the buttons have a shadow/dark outline. But when I focus any one of them, all of them lose this shadow/outline.
Is there something I can do to make ...
1
vote
1
answer
280
views
Focus a button and change the display of a div
I want to focus a button and make a div change the display to display:flex
This is the code pen link to be easier.
https://codepen.io/Rvssco/pen/bGoERxY
Thanks in advance.
0
votes
1
answer
27
views
I'm having some problem in focusing buttons
I'm having some problem with some button focus effects, although, I don't know if I'm supposed to use focus or not. So yesterday, I was trying to make a coffee roasters website. Now I have to create ...
1
vote
1
answer
1k
views
Setting focus on mat button dynamically not working
In my application I have an input field where user can enter the city code and on focus out service will be called to get the City details and search button will be enabled and focused . When the user ...
3
votes
1
answer
123
views
Java application - Space vs Enter for activating buttons on Mac
I'm creating a java swing application. The window has several buttons, and I would like the user to use the tab key to switch between buttons, and then press enter to activate the selected button.
I'...
1
vote
1
answer
542
views
First Button in a ButtonBar is always focused?
I am currently developing a JavaFX application and there I used a ButtonBar with some Buttons. When I run the program, the first Button is always focused. How can I disable that setting?
P.S.: I used ...
1
vote
0
answers
5k
views
How to remove hover/focus styling after button click?
I know that for designing and developing for accessibility, it is common for the &:hover and &:focus to have the same styling (mouse hover and tab focus). But I've run into the problem when I ...