[orca-list] Accessibility in Plasmas new notification system, QAccessible doesnt provide "NOTIFICATION"

chrys at linux-a11y.org chrys at linux-a11y.org
Thu Jun 6 14:52:41 BST 2019


Howdy Joanie, Howdy Frederik,

this is an biggier issue then initial thought. There is currently no  
notification role for QT.
would it be possible to add an temp workaround? maybe one of those?
- QAccessible::ProgressBar
- QAccessible::PopupMenu
- QAccessible::LayeredPane
- QAccessible::HelpBalloon
- QAccessible::AlertMessage

https://doc.qt.io/qt-5/qaccessible.html#Role-enum
until we get the right role in place for next QT version? (then the  
workaround could be removed?)

@frederik: would you add the role "ATK:NOTIFICATION" to QT for me? we  
want to implement it into the new notification system.
Is there an way to add an "generic API" we could use for add custom  
roles to the QAccessible enum? so we could use this until a bug is  
fixed or for very rare or custom usecases?

cheers chrys

Zitat von chrys at linux-a11y.org:

> Howdy Joanie,
>
> oh this is pritty awsome! thanks for this information.
> I will forward it to plasma-devel and kbroulik. fore sure they will  
> like your answer!
>
> mercy,
>
> cheers chrys
> Zitat von Joanmarie Diggs <jdiggs at igalia.com>:
>
>> Hey Chrys.
>>
>> Regarding notifications, it should be pretty simple:
>>
>> 1. Give it ROLE_NOTIFICATION
>> 2. Be sure it emits an object:state-changed:showing event
>> 3. Be sure the displayed text is exposed via the accessible text
>>   interface, either on the notification itself or in the accessible
>>   children of the notification
>>
>> In theory, that should do it. Orca's looking for notifications that
>> announce their appearance because, like you stated, they don't get focus.
>>
>> Hope this helps. BTW, I'm not subscribed to plasma-devel, so I'm not
>> sure if my CCing them will be sufficient. If it's not, and if they need
>> what I've stated above, please forward it to them.
>>
>> Thanks again for all your work on this!
>> --joanie
>>
>> On 6/6/19 7:45 AM, chrys at linux-a11y.org wrote:
>>>
>>> Howdy Joanie,
>>>
>>> I just give an talk to kbroulik ( the creator of Plasmas new awsome
>>> notification system).
>>> see here:
>>> https://blog.broulik.de/2019/05/next-generation-plasma-notifications/
>>>
>>> He told me that accessibility is not yet implemented. But I see
>>> notifications are an very importaint part of an desktop system. Problem
>>> for make it accessible is, that it currently doesnt get the focus at any
>>> time.
>>> Is there a best practice to implement this?
>>> how does gnome do this? how is orca awaiting for incomming
>>> notifications? do you know how we can make this happen?
>>> Sorry for bother you with so basic stuff but you are the only one person
>>> I know what can answer those issues properly.
>>>
>>> maybe a nice side notice for you (and others). We currently work on an
>>> accessibility HIG for KDE.
>>> https://hig.kde.org/accessibility/index.html
>>> Still a WIP, but if someone wants to add some good content just contact me.
>>> It should contain:
>>> - Keyboard navigation
>>> - Focus handling
>>> - Set A11y Lables/ Descriptions/ roles
>>> - howto test for good a11y
>>>
>>> cheers chrys
>>>
>>> _______________________________________________
>>> orca-list mailing list
>>> orca-list at gnome.org
>>> https://mail.gnome.org/mailman/listinfo/orca-list
>>> Orca wiki: https://wiki.gnome.org/Projects/Orca
>>> Orca documentation: https://help.gnome.org/users/orca/stable/
>>> GNOME Universal Access guide:
>>> https://help.gnome.org/users/gnome-help/stable/a11y.html
>>>
>
>
>
> _______________________________________________
> orca-list mailing list
> orca-list at gnome.org
> https://mail.gnome.org/mailman/listinfo/orca-list
> Orca wiki: https://wiki.gnome.org/Projects/Orca
> Orca documentation: https://help.gnome.org/users/orca/stable/
> GNOME Universal Access guide:  
> https://help.gnome.org/users/gnome-help/stable/a11y.html





More information about the kde-accessibility mailing list