Fix security policy dropdown axe linter

What does this MR do and why?

Fix security policy dropdown axe linter

  • use Duo workflow
  • add additional props

Changelog: changed

EE: true

References

Screenshots or screen recordings

Before After
Screenshot_2025-03-26_at_08.15.17 No visual change
Screenshot_2025-03-26_at_08.14.28 No visual change

Prompt

Fix all axe-linter (button-name) issues in ./ee/app/assets/javascripts/security_orchestration. Use all information from https://gitlab.com/
gitlab-org/gitlab-ui/-/issues/1932 as guidance

Related to Determine/document correct way to use GlListbox... (gitlab-ui#1932 - moved)

image

How to set up and validate locally

  1. Upload a GitLab Ultimate license
  2. Enable the security_policies_split_view feature flag with http://gdk.test:3443/rails/features
  3. Navigate to a project/group => Secure => Policies => New policy => Scan execution policy
  4. Verify the split view buttons work as intended
  5. Save the policy, merge the resulting MR
  6. Navigate back to the original project/group => Secure => Policies
  7. Verify the policy appears in the list and the dropdown works as intended

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Alexander Turinske

Merge request reports

Loading