From 10d2988085576eb0898e6ff68aa3e3415e01fc30 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Mon, 27 Nov 2023 13:59:53 +0300 Subject: [PATCH] Accessibility doc updated --- doc/inlinemessage/AccessibilityDoc.vue | 71 +------------------------- doc/message/AccessibilityDoc.vue | 40 +-------------- 2 files changed, 2 insertions(+), 109 deletions(-) diff --git a/doc/inlinemessage/AccessibilityDoc.vue b/doc/inlinemessage/AccessibilityDoc.vue index 21882ba72..e795b71a0 100644 --- a/doc/inlinemessage/AccessibilityDoc.vue +++ b/doc/inlinemessage/AccessibilityDoc.vue @@ -2,77 +2,8 @@

Screen Reader

- Message components use alert role that implicitly defines aria-live as "assertive" and aria-atomic as "true". Since any attribute is passed to the root element, attributes like aria-labelledby and + InlineMessage component uses alert role that implicitly defines aria-live as "assertive" and aria-atomic as "true". Since any attribute is passed to the root element, attributes like aria-labelledby and aria-label can optionally be used as well.

- -

- Close element is a button with an aria-label that refers to the aria.close property of the locale API by default, you may use closeButtonProps to customize the - element and override the default aria-label. -

- -

Close Button Keyboard Support

-
- - - - - - - - - - - - - - - - - -
KeyFunction
- enter - Closes the message.
- space - Closes the message.
-
- - diff --git a/doc/message/AccessibilityDoc.vue b/doc/message/AccessibilityDoc.vue index 21882ba72..6dfb74fc7 100644 --- a/doc/message/AccessibilityDoc.vue +++ b/doc/message/AccessibilityDoc.vue @@ -2,7 +2,7 @@

Screen Reader

- Message components use alert role that implicitly defines aria-live as "assertive" and aria-atomic as "true". Since any attribute is passed to the root element, attributes like aria-labelledby and + Message component uses alert role that implicitly defines aria-live as "assertive" and aria-atomic as "true". Since any attribute is passed to the root element, attributes like aria-labelledby and aria-label can optionally be used as well.

@@ -38,41 +38,3 @@
- -