Commit 6d2b145b authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '214538-Improve-Project-Sec-Status-Accordion' into 'master'

Improve Accordion Item Focus State

Closes #214538

See merge request gitlab-org/gitlab!40638
parents 9cb19a10 999296cd
...@@ -97,14 +97,11 @@ export default { ...@@ -97,14 +97,11 @@ export default {
:disabled="isDisabled" :disabled="isDisabled"
:aria-expanded="isExpanded" :aria-expanded="isExpanded"
:aria-controls="contentContainerId" :aria-controls="contentContainerId"
class="btn-transparent border-0 rounded-0 w-100 p-0 text-left" class="gl-bg-transparent border-0 rounded-0 w-100 p-0 text-left"
:class="{ 'cursor-default': isDisabled }" :class="{ 'cursor-default': isDisabled, 'list-group-item-action': !isDisabled }"
@click="handleClick" @click="handleClick"
> >
<div <div class="d-flex align-items-center p-2">
class="d-flex align-items-center p-2"
:class="{ 'list-group-item-action': !isDisabled }"
>
<gl-icon <gl-icon
:size="16" :size="16"
class="mr-2 gl-text-gray-900" class="mr-2 gl-text-gray-900"
......
---
title: Improve Accordion Item Focus State
merge_request: 40638
author: Kev @KevSlashNull
type: fixed
...@@ -40,7 +40,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps ...@@ -40,7 +40,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
> >
<button <button
aria-controls="gl-accordion-item-content-container-26" aria-controls="gl-accordion-item-content-container-26"
class="btn-transparent border-0 rounded-0 w-100 p-0 text-left cursor-default" class="gl-bg-transparent border-0 rounded-0 w-100 p-0 text-left cursor-default"
disabled="disabled" disabled="disabled"
id="gl-accordion-item-trigger-25" id="gl-accordion-item-trigger-25"
type="button" type="button"
...@@ -117,7 +117,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps ...@@ -117,7 +117,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
> >
<button <button
aria-controls="gl-accordion-item-content-container-28" aria-controls="gl-accordion-item-content-container-28"
class="btn-transparent border-0 rounded-0 w-100 p-0 text-left cursor-default" class="gl-bg-transparent border-0 rounded-0 w-100 p-0 text-left cursor-default"
disabled="disabled" disabled="disabled"
id="gl-accordion-item-trigger-27" id="gl-accordion-item-trigger-27"
type="button" type="button"
...@@ -194,7 +194,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps ...@@ -194,7 +194,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
> >
<button <button
aria-controls="gl-accordion-item-content-container-30" aria-controls="gl-accordion-item-content-container-30"
class="btn-transparent border-0 rounded-0 w-100 p-0 text-left cursor-default" class="gl-bg-transparent border-0 rounded-0 w-100 p-0 text-left cursor-default"
disabled="disabled" disabled="disabled"
id="gl-accordion-item-trigger-29" id="gl-accordion-item-trigger-29"
type="button" type="button"
...@@ -271,7 +271,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps ...@@ -271,7 +271,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
> >
<button <button
aria-controls="gl-accordion-item-content-container-32" aria-controls="gl-accordion-item-content-container-32"
class="btn-transparent border-0 rounded-0 w-100 p-0 text-left cursor-default" class="gl-bg-transparent border-0 rounded-0 w-100 p-0 text-left cursor-default"
disabled="disabled" disabled="disabled"
id="gl-accordion-item-trigger-31" id="gl-accordion-item-trigger-31"
type="button" type="button"
...@@ -348,7 +348,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps ...@@ -348,7 +348,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
> >
<button <button
aria-controls="gl-accordion-item-content-container-34" aria-controls="gl-accordion-item-content-container-34"
class="btn-transparent border-0 rounded-0 w-100 p-0 text-left cursor-default" class="gl-bg-transparent border-0 rounded-0 w-100 p-0 text-left cursor-default"
disabled="disabled" disabled="disabled"
id="gl-accordion-item-trigger-33" id="gl-accordion-item-trigger-33"
type="button" type="button"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment