docs: improve accessibility with ARIA labels, focus states and contrast adjustments
This commit is contained in:
@@ -191,7 +191,7 @@ export default async function ServiceLocationPage({ params }: Props) {
|
||||
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
|
||||
{projects.map((project: any) => (
|
||||
<Link key={project.id} href={`/works/${project.slug}`} className="group block">
|
||||
<Link key={project.id} href={`/works/${project.slug}`} className="group block focus-visible:outline-2 focus-visible:outline-primary focus-visible:outline-offset-4 rounded-sm" aria-label={`${project.title} projesini incele`}>
|
||||
<div className="space-y-4">
|
||||
<div className="relative aspect-video overflow-hidden border border-black/10 bg-black/5">
|
||||
<Image
|
||||
@@ -221,9 +221,9 @@ export default async function ServiceLocationPage({ params }: Props) {
|
||||
<p className="text-black/40 text-[13px] tracking-[0.1em]">
|
||||
{location.name} bölgesindeki projeniz için profesyonel destek almaya hazır mısınız?
|
||||
</p>
|
||||
<Link href="/contact" className="button-primary mx-auto inline-flex items-center gap-2">
|
||||
<Link href="/contact" className="button-primary mx-auto inline-flex items-center gap-2 focus-visible:outline-2 focus-visible:outline-primary focus-visible:outline-offset-4" aria-label={`${location.name} projeniz için teklif alın`}>
|
||||
Teklif Al
|
||||
<ArrowRight className="w-3 h-3" />
|
||||
<ArrowRight className="w-3 h-3" aria-hidden="true" />
|
||||
</Link>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user