Skip to content

Commit d5326c0

Browse files
committed
2426: color var fix and remove tabindex if there's no scrolling
1 parent 9c94c2c commit d5326c0

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

static/css/v3/library-intro-card.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
}
7474

7575
.library-intro-card__authors:focus-visible {
76-
outline: 2px solid var(--color-text-primary);
76+
outline: 2px solid var(--color-stroke-link-accent);
7777
outline-offset: -2px;
7878
}
7979

templates/v3/includes/_library_intro_card.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@
2020
</div>
2121
{% if authors %}
2222
<div class="library-intro-card__authors"
23+
{% if authors|length > 3 %}
2324
tabindex="0"
2425
role="region"
25-
aria-label="Contributors for {{ library_name }}">
26+
aria-label="Contributors for {{ library_name }}"
27+
{% endif %}>
2628
{% for author in authors %}
2729
{% if not forloop.first %}<hr class="card__hr">{% endif %}
2830
<div class="library-intro-card__author">

0 commit comments

Comments
 (0)