Re: Coding VB.NET 2005 app for accessibility

  • From: "black ares" <matematicianu2003@xxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Sun, 27 Jan 2008 17:27:49 +0200

In dotnet language
these are properties
they in vb are declared as well:
public property....
So they are properties.
Attributes refer to the tags properties in xml/html
so for:
<body bgcolor='...' />
bgcolor is a attribute

----- Original Message ----- From: "Octavian Rasnita" <orasnita@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Sunday, January 27, 2008 8:56 AM
Subject: Re: Coding VB.NET 2005 app for accessibility


I think we are talking about the same thing, but as English is not my native language.... attribute or property is the same thing for me.

I don't know what's the proper name of AccessibleName and AccessibleDescription things... properties, or attributes.

Octavian

----- Original Message ----- From: "tribble" <lauraeaves@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Saturday, January 26, 2008 11:31 PM
Subject: Re: Coding VB.NET 2005 app for accessibility


I'm not a vb programmer and am only skimming this thread, but so as to
better understand your post, do you mean attribute when you say property, or
are we not thinking about the same thing?
Thx
--le

----- Original Message ----- From: "Octavian Rasnita" <orasnita@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Saturday, January 26, 2008 12:35 PM
Subject: Re: Coding VB.NET 2005 app for accessibility


You can set the AccessibleDescription property of the text field to be the
text that appears in the label, but this has nothing to do with other
properties of the label or the text field (like the ID).
This way is prefered, because if you want to change later the label of the
field, you don't need to also change the AccessibleDescription.


Octavian

----- Original Message ----- From: "black ares" <matematicianu2003@xxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Saturday, January 26, 2008 7:03 PM
Subject: Re: Coding VB.NET 2005 app for accessibility


hmm
you can evry moment to do your custom label to act and to drow it self how
you want.
You can extend label puting to it the property associated control id
and when this property is seted
you can set the accessibility description of the associated control to be
the same thing with the text of label.
Or there are more design posibilities.

----- Original Message ----- From: "Octavian Rasnita" <orasnita@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Saturday, January 26, 2008 10:39 AM
Subject: Re: Coding VB.NET 2005 app for accessibility


Associating that ID of a web control with a label is not a feature of
.net, but a feature of HTML4, but it would be very helpful indeed to be
able to associate a label with another control in a desktop application,
however, I don't think it is possible, no matter if the GUI library is
WinForms, Wx, Win32 API, or something else.

Octavian

----- Original Message ----- From: "black ares" <matematicianu2003@xxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Saturday, January 26, 2008 6:42 AM
Subject: Re: Coding VB.NET 2005 app for accessibility


you are right, on the win side of dotnet I didn't find this property...
On the web side it is and is very helpfull.
But it stil remains the accessiblename/description/role in the area
----- Original Message ----- From: "Jamal Mazrui" <empower@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Saturday, January 26, 2008 12:02 AM
Subject: Re: Coding VB.NET 2005 app for accessibility


I'm aware of the AccessibleName and AccessibleDescription properties,
but
not the control ID property for associating a .NET label with another
control.  Searching MSDN, I could not find such a property.  Can you
provide specifics?

Jamal
On Fri, 25 Jan 2008, black ares wrote:

Date: Fri, 25 Jan 2008 08:36:21 +0200
From: black ares <matematicianu2003@xxxxxxxxxxx>
Reply-To: programmingblind@xxxxxxxxxxxxx
To: programmingblind@xxxxxxxxxxxxx
Subject: Re: Coding VB.NET 2005 app for accessibility

as far as i know,
In dotnet all controls have at least two properties realy of help.
First is accessible name
second is accessible description
these two properties will override any other behavior from the screen
reader.
Also any label in dotnet has a property associated control id
where you specify to the label which is the control refered.
So what I suggest:
1. for each label which refer a control set the associated control id
to
that control.
If this does not work
2. set the accessible name of the control at what you want
and the accessible description to the text of the label.
Best Regards
Black Ares
----- Original Message -----
From: "Ken Perry" <whistler@xxxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Friday, January 25, 2008 6:46 AM
Subject: RE: Coding VB.NET 2005 app for accessibility


>
>
> I will note that it also works fine if the label is above the text
> box.
> Note that the label should have the tab set to the previous value > so
> for
> example if your text box or control you want read like a list box > to
> have
> the label to the left and the listbox tab stop is 6 then the label
> that is
> related should be set to 5.  Alignment some times cause it to be
> read or
> not
> read for example I have a label above a text box and I aligned the
> text to
> top bottom and center and they all worked but I have seen if you
> move the
> label farther away and don't align it to the bottom it doesn't > read.
> This
> might have been just a fluke but its something to be thinking of. > I
> wish
> Freedom scientific, GW, and the other screen reader companies > would
> publicize the algorithm they use to search for these things but I
> have not
> found any such publications. I can tell you though if you > correctly
> place
> controls by labels 90% of the time they are found.
>
> If your label can not be right next to the control like in a table
> of
> controls that is not laid out in a listview one thing you can do > to
> make
> sure a screen reader speaks it is when the control is just about > to
> receive
> focus change the color of the label that you want spoken and the
> screen
> reader will pick it up but this should not be necessary unless you
> just
> have
> a really weird layout.
>
> Ken
>
> -----Original Message-----
> From: programmingblind-bounce@xxxxxxxxxxxxx
> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Bob J.
> Sent: Thursday, January 24, 2008 9:54 PM
> To: programmingblind@xxxxxxxxxxxxx
> Subject: Re: Coding VB.NET 2005 app for accessibility
>
> JFW usually works well with text boxes when there is a label just > to
> the
> left of the text box.  When you tab to the next text box, JFW will
> read
> the
> label and then the contents of the text box. While the PC cursor > is
> on
> the
> text box, the SayLine command will usually read the label and the
> contents
> of the text box.  The alignment of the label with the text box is
> sometimes
> critical for this to function properly.  Control buttons usually
> have a
> caption that JFW will read when you tab to the next button.  While
> the PC
> cursor is on the button, the SayLine command will usually read the
> caption
> for that button.
>
> hth
>
> Bob
>
>
> ----- Original Message -----
> From: "Peter Quaiattini" <Peter_Quaiattini@xxxxxx>
> To: "Blind Programming" <programmingblind@xxxxxxxxxxxxx>
> Sent: Thursday, January 24, 2008 3:42 PM
> Subject: Coding VB.NET 2005 app for accessibility
>
>
> Needing some developer advice in coding an app in VB.net 2005 -- > I'm
> not
> the developer; rather the user.
>
> My colleague is building an app for our team to use. However, when > I
> tab
> through the various controls in the app, JAWS announces, for
> example,
> what is the current value of the control. However, it does not > tell
> me
> any info about what the control is - for example what one might
> consider
> to be the title of the control.
>
> He has also coded balloon help (active when the mouse is over the
> control), which doesn't speak by JAWS either.
>
> So, can anyone point me / him to some coding resource that will > show > examples of how to code a vb.net 2005 application so that JAWS > talks
> when using it?
>
> Alternatively or additionally, if I need to set something up
> specific
> within JAWS to get JAWS to talk when navigating the application,
> that
> would be helpful as well.
>
> In other words, using VB.net 2005, what does one need to do in > order
> for
> JAWS to inform the JAWS user of the information that the developer
> wants
> the JAWS user to know?
>
> Thanks in advance.
>
> Peter Quaiattini
> BITS OPS - Data Hosting Services
> Canadian Pacific Railway
> (403) 319-6579
> peter_quaiattini@xxxxxx
>
>
>
> ------------------------------ IMPORTANT NOTICE - AVIS
> IMPORTANT ------------------------------
> Computer viruses can be transmitted via email. Recipient should
> check this
> email and any attachments for the presence of viruses. Sender and
> sender
> company accept no liability for any damage caused by any virus
> transmitted
> by this email.
> This email transmission and any accompanying attachments contain
> confidential information intended only for the use of the > individual
> or
> entity named above.  Any dissemination, distribution, copying or
> action
> taken in reliance on the contents of this email by anyone other > than
> the
> intended recipient is strictly prohibited.  If you have received
> this
> email
> in error please immediately delete it and  notify sender at the
> above
> email
> address.
>
> Le courrier electronique peut etre porteur de virus informatiques.
> Le
> destinataire doit donc passer le present courriel et les pieces > qui
> y sont
> jointes au detecteur de virus.  L' expediteur et son employeur
> declinent
> toute responsabilite pour les dommages causes par un virus contenu
> dans le
> courriel.
> Le present message et les pieces qui y sont jointes contiennent > des > renseignements confidentiels destines uniquement a la personne ou > a
> l'
> organisme nomme ci-dessus.  Toute diffusion, distribution,
> reproduction ou
> utilisation comme reference du contenu du message par une autre
> personne
> que
> le destinataire est formellement interdite.  Si vous avez recu ce
> courriel
> par erreur, veuillez le detruire immediatement et en informer l'
> expediteur
> a l' adresse ci-dessus.
> ------------------------------ IMPORTANT NOTICE - AVIS
> IMPORTANT ------------------------------
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/programmingblind
>
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/programmingblind
>
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/programmingblind
>

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind



__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind



__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind



__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: