Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improved site's web accessibility #2009

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions _includes/features.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ <h2 class="feature-title">Manage infra performance with <span class="special-tex
<div class="container flex">
<div class="text ">
<img src="/assets/images/kanvas-icon-color.svg" style="max-width:20%;position:relative;float:left;
margin-right:20px;margin-bottom: 10px;" loading="lazy" />
margin-right:20px;margin-bottom: 10px;" loading="lazy" alt="kanvas image"/>
<h2 class="feature-title">See changes to your infra <span class="special-text">before you merge</span></h2>
<p>Get snapshots of your infrastructure directly in your PRs. Preview your deployment, view changes pull request-to-pull request and get infrastructure snapshots within your PRs by connecting Kanvas to your GitHub repositories.</p>
<!-- <ul style="line-height: 1.5em;height: auto;text-align: left; color: var(--color-secondary-light)">
Expand All @@ -150,7 +150,8 @@ <h2 class="feature-title">See changes to your infra <span class="special-text">b
<div class="gradient-box-before">Before</div>
</div>
</div>
<input type="range" min="1" max="100" value="50" class="slider" name='slider' id="slider">
<label for="slider" id="slider-label">Slider</label>
<input type="range" min="1" max="100" value="50" class="slider" name='slider' id="slider" aria-labelledby="gradient-box-before gradient-box-after">
<div class='slider-button'></div>
</div>
</div>
Expand Down Expand Up @@ -193,7 +194,7 @@ <h2 class="feature-title">{{ features.title }}</h2>
<div class="image flex" style="flex-flow: column wrap;">
<div align="center" style="margin-top: 3rem;">
<button id="video-modal" class="link recording-link" style="width:100%"><img
src="{{ features.videoPoster }}" loading="lazy" ></button>
src="{{ features.videoPoster }}" loading="lazy" alt="Envoy WASM Filter Management image" aria-label="Envoy WASM Filter Management image"></button>
<!-- <p style="font-size: 1rem;margin:0rem;padding:0rem;color:#666;font-style: italic;">(excerpt: patterns
in-action)</p> -->
{% include video-modal.html
Expand All @@ -214,8 +215,8 @@ <h2 class="feature-title">{{ features.title }}</h2>
</div>
<div class="image flex">
<a style="width: 100%;" href="{{ features.image }}" data-fancybox="images"
data-caption="Webassembly based Envoy Filters">
<img src="{{ features.image }}" class="screenshot" loading="lazy" />
data-caption="Webassembly based Envoy Filters"aria-label="Webassembly based Envoy Filters">
<img src="{{ features.image }}" class="screenshot" loading="lazy" alt="Webassembly based Envoy Filter image" />
</a>
</div>
</div>
Expand Down Expand Up @@ -257,8 +258,8 @@ <h2 class="feature-title">{{ features.title }}</h2>
</div>
<div class="image flex" style="flex-flow: column wrap;">
<div align="center" style="margin-top: 3rem;">
<button id="video-modal" class="link recording-link" style="width:100%"><img
src="{{ features.videoPoster }}" loading="lazy" class="screenshot"></button>
<button id="video-modal" class="link recording-link" style="width:100%" aria-label="cloud native design pattern video"></button>><img
src="{{ features.videoPoster }}" loading="lazy" class="screenshot" alt="cloud native design pattern"></button>
<!-- <p style="font-size: 1rem;margin:0rem;padding:0rem;color:#666;font-style: italic;">(excerpt: patterns
in-action)</p> -->
{% include video-modal.html
Expand Down
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
<img class="nav-text" id="logo-dark-light"
src="{{ site.baseurl }}/assets/images/nav-icons/mode-toggle-icon-moon.png"
data-logo-for-dark="{{ site.baseurl }}/assets/images/nav-icons/mode-toggle-icon-moon.png"
data-logo-for-light="{{ site.baseurl }}/assets/images/nav-icons/mode-toggle-icon-sun.png" />
data-logo-for-light="{{ site.baseurl }}/assets/images/nav-icons/mode-toggle-icon-sun.png" alt="theme-logo" />
</button>
</div>
</header>
Expand Down
10 changes: 6 additions & 4 deletions _includes/home-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,14 @@ <h1 style="margin: 0rem 0rem 1rem 0rem;">the <span class="special-text" style="a
extensible</span> Kubernetes manager</h1>
<div class="video-box">
<div class="ribbon"><span>video</span></div>
<a href="https://www.youtube.com/watch?v=Do7htKrRzDA" data-fancybox="images"
data-caption="cloud native management plane" title="watch video">
<a href="https://www.youtube.com/watch?v=Do7htKrRzDA" data-fancybox="images" data-caption="cloud native management plane" title="watch video">
<video class="box-shadow-primary" width="100%" autoplay loop muted>
<source src="{{ site.baseurl }}/assets/videos/hero-img.webm" type="video/webm" />
<!-- Added track to provide subtitles or captions for the video.
This ensures that the video is accessible to users who are deaf or hard of hearing -->
<track kind="captions" src="" srclang="en" label="English" default />
aakankshabhende marked this conversation as resolved.
Show resolved Hide resolved
</video>
</a>
</a>
</div>
<h2 class="sub-text" style="padding-top:1rem; font-size: 1.05rem; font-weight: 500;">Example extension. See other <a style="font-size:1.05rem" href="/extensions">Meshery Extensions</a>.</h2>
<a href="https://github.com/meshery/meshery">
Expand Down Expand Up @@ -230,7 +232,7 @@ <h1 class="used-by">Used By</h1>
<!-- Adopter Section -->
<section class="adopter-section">
<div class="adopter-container">
<h3 class="adopter-title">Add yourself as an <strong>adopter</strong></h3>
<h2 class="adopter-title">Add yourself as an <strong>adopter</strong></h2>
<p class="adopter-description">and share your cloud native story with the community</p>
<div class="button-para button-para--center">
<a href="https://github.com/layer5io/meshery/blob/master/ADOPTERS.md" target="_blank" class="highlight"
Expand Down
3 changes: 2 additions & 1 deletion _includes/partials/homePage-integrations.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ <h2>
<div class="card-front">
<img src="${iconURL}" loading="lazy" id="logo-dark-light"
data-logo-for-dark="${iconURL}"
data-logo-for-light="${iconURL}" />
data-logo-for-light="${iconURL}"
alt="${item.name}-card-image"/>
</div>
<div class="card-back">
<p> ${item.name} </p>
Expand Down
6 changes: 3 additions & 3 deletions _includes/testimonials.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h2>Hear what other users have to say...</h2>
<div class="bq-section">
<div class="type-one-wrapper type-one-wrapper-boxed">
<div class="bq-quote type-one-quote">
<div class="type-one-quote-userpic"><img src="{{ testimonial.image }}"></div>
<div class="type-one-quote-userpic"><img src="{{ testimonial.image }}" alt="testimonial image"></div>
<div class="type-one-quote-qmark">&#10077;</div>
<div class="type-one-quote-pattern"></div>
<div class="type-one-quote-base">
Expand All @@ -29,7 +29,7 @@ <h2>Hear what other users have to say...</h2>
<div class="type-two-quote-pattern">
<div class="type-two-quote-qmark">&#10077;</div>
</div>
<div class="type-two-quote-userpic"><img src="{{ testimonial.image }}"></div>
<div class="type-two-quote-userpic"><img src="{{ testimonial.image }}" alt="testimonial image"></div>
<div class="type-two-quote-base">
<blockquote class="type-two-quote-text">{{ testimonial.quote }}</blockquote>
<div class="type-two-quote-meta">
Expand All @@ -50,7 +50,7 @@ <h2>Hear what other users have to say...</h2>
<div class="type-three-quote-base">
<blockquote class="type-three-quote-text">{{ testimonial.quote }}</blockquote>
<div class="type-three-quote-meta">
<div class="type-three-quote-userpic"><img src="{{ testimonial.image }}"></div>
<div class="type-three-quote-userpic"><img src="{{ testimonial.image }}" alt="testimonial image"></div>
<div class="type-three-quote-meta-info">
<div class="type-three-quote-author"><cite>{{ testimonial.person | default: "" }}</cite></div>
<div class="type-three-quote-source"><span>{{ testimonial.title | default: "" }}</span></div>
Expand Down
Loading