From 6c88a142e423959aa1ebedc453b40e121161fc08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20FINDIKLI?= Date: Tue, 28 Nov 2023 15:22:12 +0300 Subject: [PATCH] #5429 for DeferredContent --- .../doc/deferredcontent/accessibilitydoc.js | 35 +++++++++---------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/components/doc/deferredcontent/accessibilitydoc.js b/components/doc/deferredcontent/accessibilitydoc.js index 70d9d87c03..f02f33bbb6 100644 --- a/components/doc/deferredcontent/accessibilitydoc.js +++ b/components/doc/deferredcontent/accessibilitydoc.js @@ -1,31 +1,28 @@ import { CodeHighlight } from '@/components/doc/common/codehighlight'; -import { DevelopmentSection } from '@/components/doc/common/developmentsection'; import { DocSectionText } from '@/components/doc/common/docsectiontext'; export function AccessibilityDoc() { return ( - - -

Screen Reader

-

- DeferredContent can be utilized in many use cases as a result no role is enforced, in fact a role may not be necessary if the card is used for presentational purposes only. Any valid attribute is passed to the container element so - you have full control over the roles like{' '} - - landmark - {' '} - and attributes like aria-live. -

- - {` + +

Screen Reader

+

+ DeferredContent can be utilized in many use cases as a result no role is enforced, in fact a role may not be necessary if the card is used for presentational purposes only. Any valid attribute is passed to the container element so you + have full control over the roles like{' '} + + landmark + {' '} + and attributes like aria-live. +

+ + {` Content `} - +
-

Keyboard Support

-

Component does not include any interactive elements.

-
-
+

Keyboard Support

+

Component does not include any interactive elements.

+ ); }