Browse Source

Fixed role for tablist

pull/18/head
Anxhelo Lushka 3 years ago
parent
commit
0a4257b034
  1. 3
      assets/scss/_custom.scss
  2. 2
      layouts/_default/about.html

3
assets/scss/_custom.scss

@ -1180,7 +1180,8 @@ svg, svg path {
border-radius: 0.25rem;
box-shadow: 0 0 0.125rem 0.125rem rgba(0, 0, 0, 0.6);
clip-path: none;
color: black;
color: $black;
background-color: $white;
display: block;
font-size: 0.875rem;
font-weight: bold;

2
layouts/_default/about.html

@ -15,7 +15,7 @@
<h2>Our Expertise</h2>
<div class="tab pb-4" aria-role="tablist">
<div class="tab pb-4" role="tablist" aria-multiselectable="true">
{{ range (where .Site.RegularPages "Type" "services") }}
<button type="button" role="tab" class="tablinkservice" aria-controls="{{ .Page.Params.id }}"
onclick="service(event, '{{ .Page.Params.id }}')" {{ if eq .Page.Params.weight 1

Loading…
Cancel
Save