From 4917430c1c5e8105987e81d65d31df21955ad60e Mon Sep 17 00:00:00 2001
From: Samuel Thibault
Date: Wed, 8 Aug 2018 13:34:18 +0200
Subject: tdf#116542 a11y: introduce STATIC role
This should be used for brief non-editable text which is not meant to have a
relation with another object (as opposed to text or label).
Change-Id: I46bfa56042a51295e9fa0d332babdbb40668ff0b
Reviewed-on: https://gerrit.libreoffice.org/58734
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens
---
offapi/com/sun/star/accessibility/AccessibleRole.idl | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
(limited to 'offapi/com/sun/star')
diff --git a/offapi/com/sun/star/accessibility/AccessibleRole.idl b/offapi/com/sun/star/accessibility/AccessibleRole.idl
index ca3b79bb8b5c..681da637052a 100644
--- a/offapi/com/sun/star/accessibility/AccessibleRole.idl
+++ b/offapi/com/sun/star/accessibility/AccessibleRole.idl
@@ -248,6 +248,7 @@ constants AccessibleRole
const short INTERNAL_FRAME = 29;
/** An object used to present an icon or short string in an interface.
+ See also TEXT and STATIC.
*/
const short LABEL = 30;
@@ -500,9 +501,9 @@ constants AccessibleRole
/** Text role.
An object that presents text to the user. The text is usually
- editable by the user as opposed to a label.
+ editable by the user as opposed to a label or static text.
- See also LABEL.
+ See also LABEL and STATIC.
*/
const short TEXT = 60;
@@ -729,6 +730,17 @@ constants AccessibleRole
*/
const short DOCUMENT_TEXT = 85;
+ /** Static text role.
+
+ An object that presents a brief amount of information to the user.
+ The text is not editable by the user as opposed to a text, and not
+ meant to have a relation with another object as opposed to a
+ label.
+
+ See also LABEL and TEXT.
+ */
+ const short STATIC = 86;
+
};
}; }; }; };
--
cgit