diff --git a/packages/typescriptlang-org/src/components/index/AboveTheFold.tsx b/packages/typescriptlang-org/src/components/index/AboveTheFold.tsx index 548c1dbafbd1..939c753cf078 100644 --- a/packages/typescriptlang-org/src/components/index/AboveTheFold.tsx +++ b/packages/typescriptlang-org/src/components/index/AboveTheFold.tsx @@ -9,8 +9,8 @@ const Row = (props: { children: any, className?: string }) =>
{props.children}
const Col2 = (props: { children: any }) =>
{props.children}
-const FluidButton = (props: { href?: string, onClick?: any, title: string, subtitle?: string, icon: JSX.Element, className?: string }) => ( - +const FluidButton = (props: { href?: string, onClick?: any, title: string, subtitle?: string, icon: JSX.Element, className?: string, role?: string }) => ( +
{props.title}
{props.subtitle}
@@ -43,6 +43,7 @@ export const AboveTheFold = () => { subtitle={i("index_2_cta_install_subtitle")} href="/download" onClick={onclick} + role="button" icon={ @@ -122,7 +123,7 @@ export const AboveTheFold = () => { const Content = window.innerWidth < 600 ? CTAHeadlineMobile : CTAHeadlines return (
- setShowCTALinks(false)} href="#"> + setShowCTALinks(false)} href="#" role="button"> diff --git a/packages/typescriptlang-org/src/components/index/EditorExamples.tsx b/packages/typescriptlang-org/src/components/index/EditorExamples.tsx index 48c23c96ab51..ce98099f7cd5 100644 --- a/packages/typescriptlang-org/src/components/index/EditorExamples.tsx +++ b/packages/typescriptlang-org/src/components/index/EditorExamples.tsx @@ -75,6 +75,7 @@ export const EditorExamples = () => { href="#" onClick={next} aria-label="Show code sample" + role="button" >