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

The recommendation should probably be relaxed to say "Consider using a 
read-only Text instead of a Label".
It doesn't make sense in all cases.
Another advantage of read-only text is that you can swipe it and use 
Ctrl+C, if it carries information that people might want to communicate 
via email (e.g. paths, error messages, etc.)

Nick





Tod_Creasey@xxxxxxx
Sent by: platform-ui-dev-admin@xxxxxxxxxxx
05/06/02 02:34 PM
Please respond to platform-ui-dev

 
        To:     platform-ui-dev@xxxxxxxxxxx
        cc: 
        Subject:        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




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





Back to the top