AccessibleHeaderText property

M

mt

Hi

I set some text to the AccessibleHeaderText property of the bound field
(GridView and Detailsview). But this text does not seem to be read by the
screen reader. Am I missing something here?

I'm using the JAWS screen reader. It reads the header label but not the text
in the AccessibleHeaderText property.

Any help is appreciated.

Thanks
 
S

Steven Cheng[MSFT]

Hi mt,

Welcome to the MSDN newsgroup.

As for the "AccessibleHeaderText" attribite, it is dervied from the
"DatacontrolField" class, and is used to supply the "AbbreviatedText" info
on the web page for the certain table header. Also, from the document, this
property will work for only some Table based controls(I think they're those
ones which can be represented by html <table>). And based on my testing,
Gridview will output this property as the "abbr" attribute in the <th>
element. e.g:

<th scope="col" abbr="CID">

While DetailsView won't output this AbbreviatedText info. And the MSDN
document has mentioned that "abbr" attribute can be used for rendering to
non-visual media such as speech or Braille.

http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/abbr.as
p?frame=true

So I think you can first test with a normal html <table> in static html
page to see whether it works.

Hope this helps some.

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may

learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,138
Messages
2,570,803
Members
47,348
Latest member
nethues

Latest Threads

Top