8000 Merge pull request #436 from ShoGinn/accessibility_updates · davidb313/pandevono-landing@800ab93 · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
Merge pull request onwidget#436 from ShoGinn/accessibility_updates
Browse files Browse the repository at this point in the history
Accessibility updates
  • Loading branch information
prototypa authored May 3, 2024
2 parents a606b34 + 1a77aeb commit 800ab93
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/common/ToggleMenu.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const {
} = Astro.props;
---

<button class={className} aria-label={label} data-aw-toggle-menu>
<button type="button" class={className} aria-label={label} data-aw-toggle-menu>
<span class="sr-only">{label}</span>
<slot>
<span
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/CallToAction.astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const {
tagline={tagline}
classes={{
container: 'mb-0 md:mb-0',
title: 'text-4xl md:text-4xl font-bold leading-tighter tracking-tighter mb-4 font-heading',
title: 'text-4xl md:text-4xl font-bold tracking-tighter mb-4 font-heading',
subtitle: 'text-xl text-muted dark:text-slate-400',
}}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/Content.astro
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const {
tagline={tagline}
classes={{
container: 'max-w-xl sm:mx-auto lg:max-w-2xl',
title: 'text-4xl md:text-5xl font-bold leading-tighter tracking-tighter mb-4 font-heading',
title: 'text-4xl md:text-5xl font-bold tracking-tighter mb-4 font-heading',
subtitle: 'max-w-3xl mx-auto sm:text-center text-xl text-muted dark:text-slate-400',
}}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const currentPath = `/${trimSlash(new URL(Astro.url).pathname)}`;
<li class={links?.length ? 'dropdown' : ''}>
{links?.length ? (
<>
<button class="hover:text-link dark:hover:text-white px-4 py-3 flex items-center">
<button type="button" class="hover:text-link dark:hover:text-white px-4 py-3 flex items-center">
{text}{' '}
<Icon name="tabler:chevron-down" class="w-3.5 h-3.5 ml-0.5 rtl:ml-0 rtl:mr-0.5 hidden md:inline" />
</button>
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/Pricing.astro
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const {
<span class="text-base leading-6 lowercase text-gray-600 dark:text-slate-400">{period}</span>
</div>
{items && (
<ul role="list" class="my-8 md:my-10 space-y-2 text-left">
<ul class="my-8 md:my-10 space-y-2 text-left">
{items.map(
({ description, icon }) =>
description && (
Expand Down

0 comments on commit 800ab93

Please sign in to comment.
0