Closed pimeggermont closed 4 years ago
Next to the fact that I cannot reproduce this bug (I'm probably doing something wrong) you should take into consideration the effects towards accessibility. I don't think you want to make the flyout inaccessible, definitely not on purpose! If you want we can take a look at the problem together.
@TriangleJuice you cannot reproduce this issue because we reverted to a previous version :) You can see the issue in the gif below. The "meer info" labels shouldn't get focus when tabbing between input fields.
Ok, I see what you mean. However, following the WCAG (required by the EU), this link must be focusable, so while it would be technically possibly to alter the behaviour we are not going to do this. We also advice against 'fixing' this yourselves, because of aforementioned reasons.
Describe the bug
When you tab between input field and there is a flyout-action in between, it focusses on this flyout-action. -> works as designed I guess? But when we do not want this behavior and want to override tabIndex (-1) on this field it gets overwritten by the value set in flyout-action (0).
To Reproduce
1) Go to https://evenementenaanvraag-o.antwerpen.be 2) Login 3) Start a dossier: -> Evenementen -> Festivals, Concerten en fuiven -> Festival -> Aanvraag starten 4) Go to step 2 (Periode & Duur) 5) Fill in using tab 6) This reproduces the unwanted behavior.
Additional context
Fix: Make tabIndex overrideable