Hello,

Samuel Thibault, on lun. 05 mars 2018 16:17:24 +0100, wrote:
> Some dialog boxes use labels for static information, e.g. printer
> status, replace result, etc.  For the screen reader to properly
> understand that, it should have role ATK_ROLE_STATIC.  I have not found
> any way in glade's .ui format to specify this, actually ROLE_STATIC does
> not appear in gtk+3.0 source code, so I guess it's just not there.
> 
> I'm thinking we could have something like
> 
> <accessibility>
>   <role type="static"/>
> </accessibility>
> 
> to be able to specify e.g. labels' role?

FI, I have posted a patch implementing this in gtk on 

https://gitlab.gnome.org/GNOME/gtk/issues/109

Along the way, I found that there is

    <child internal-child="accessible">
            <object class="AtkObject">
                    <property 
name="AtkObject::accessible-role">ATK_ROLE_STATIC</property>
            </object>
    </child>

which is supposed to do the same, but that doesn't work:
"accessible-role" is supposed to be an int, not a string, and thus one
would have to put 117 there instead of ATK_ROLE_STATIC, which is really
going to work :)

So I'd say my proposal still make sense?

Samuel
_______________________________________________
gnome-accessibility-devel mailing list
gnome-accessibility-devel@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel

Reply via email to