tdf#116542 a11y: Make R/O accessibleedit use STATIC role
as improvement to tdf#86661 which had made it a LABEL as first improvement over TEXT. Change-Id: I0e5ee7b680ec943f38526b98cb904d0f9f916d85 Reviewed-on: https://gerrit.libreoffice.org/58736 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
This commit is contained in:
parent
aa0adc7a4f
commit
ac475d8d6f
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ sal_Int16 VCLXAccessibleEdit::implGetAccessibleRole( )
|
|||
if ( pEdit && ( pEdit->IsPassword() || pEdit->GetEchoChar() ) )
|
||||
nRole = AccessibleRole::PASSWORD_TEXT;
|
||||
else if ( pEdit && ( pEdit->GetStyle() & WB_READONLY ) )
|
||||
nRole = AccessibleRole::LABEL;
|
||||
nRole = AccessibleRole::STATIC;
|
||||
else
|
||||
nRole = AccessibleRole::TEXT;
|
||||
|
||||
|
|
Loading…
Reference in a new issue