Not possible to set tabIndex==-1 for parts of a CustomField in Grid editor
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 717
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 3
Description
Originally by guttorm
We have a CustomField that looks like the ComboBox / DateField. Ie a button + an input field.
We set the tabIndex of the button to -1, but when used in the Grid editor it becomes 0.
When looking at the "?debug" property inspector, the tab index is "-1" for the button, but in the actual html it is "0"
Imported from https://dev.vaadin.com/ issue #18814
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with a CustomField containing a button and input field inside the Grid editor, comparing the configured tabIndex with the generated HTML. Trace the Grid editor and CustomField focus handling; done means a button configured with tabIndex=-1 remains excluded from keyboard tab navigation in the rendered editor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- accessibility, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100