Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Accessibility question regarding Labels/Text

Randy

SWT endeavours to give platform behaviour whenever possible and in the case
of Labels they are only read of there is a widget that can be identified to
be labelled by it. If the label appears to not be related to anything it is
not read. Likewise labels do not give focus on windows so the desire to
maintain platform behaviour prevents us from making them focussable.

A text can always be read as it can get focus. The main caveat with text
widgets is that they wrap differently than labels and are harder to make
readable for users who do have thier sight.

Tod



                                                                                                                              
                      "Randy Hudson"                                                                                          
                      <hudsonr@xxxxxxxxxx>           To:      platform-ui-dev@xxxxxxxxxxx                                     
                      Sent by:                       cc:                                                                      
                      platform-ui-dev-admin@         Subject: Re: [platform-ui-dev] Accessibility question regarding          
                      eclipse.org                    Labels/Text                                                              
                                                                                                                              
                                                                                                                              
                      05/06/2002 02:29 PM                                                                                     
                      Please respond to                                                                                       
                      platform-ui-dev                                                                                         
                                                                                                                              
                                                                                                                              



Why does the Accessibility tips.html page recommends against using labels,
and recommends read-only Text instead?

The control that is being labeled, such as a Text control, is capable of
returning the same string used on the label as an accessibility
description.
Use of a read-only Text control is annoying to the sighted keyboard user
because if *barely* shows you where focus is and it increases the number of
times one has to press the Tab key.

In cases where a Label is not labeling any focusable control, why not use a
CLabel and make CLabels focusable.  It *should* support focus using a more
visible focus Rectangle instead of a tiny blinking caret.

_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev






Back to the top