Ticket #1671 (closed defect: fixed)
NVDA does not recognise different styles of lists on the internet, particularly those styled with css
| Reported by: | ashleycox | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2011.3 |
| Component: | Browse mode | Version: | 2011.1.1 |
| Keywords: | Cc: | ||
| Operating system: | Windows 7 | Blocked by: | |
| Blocking: |
Description
When viewing a website that has a list, using the html <ul>, and <ol> tags, NVDA doesn't seam to recognise the list styles defined in the css sheet for these lists. for example, on my own site http://www.ashleycox.co.uk, the 2 navigation lists have the 'list-style:none; propety set, however NVDA still reads the lists as bullited lists.
Change History
comment:2 in reply to: ↑ description Changed 7 months ago by ashleycox
Replying to ashleycox:
When viewing a website that has a list, using the html <ul>, and <ol> tags, NVDA doesn't seam to recognise the list styles defined in the css sheet for these lists. for example, on my own site http://www.ashleycox.co.uk, the 2 navigation lists have the 'list-style:none; propety set, however NVDA still reads the lists as bullited lists.
Using IE9 and google chrome
This does need to be addressed in IE9, as in windows 8 certian applications and gadgets will be written in html and javascript, and run using the IE engine; these will undoubtedly have unstyled lists in them.
comment:3 Changed 7 months ago by mdcurran
- Milestone set to 2011.3
I agree this is an important bug. However, it seems that in MSHTML (IE etc) that a HTML node (COM object)'s currentStyle.listStyleType is never calculated correctly and is *always* none, even if its supposed to be something like alpha or roman or numeric (what ever that is called). I shall investigate more again soon. But this has been a known bug for a while.
comment:4 Changed 7 months ago by mdcurran
- Status changed from new to closed
- Resolution set to fixed
The main issue is fixed in changeset:main,4562. List-style-type is now honored at least as far as its either bulleted, enumerated or none. Support for specific enumerations (decimal, alpha, latin etc is harder as the values would have to be hard-coded I believe as MSHTML can not tell you the current value, so these are still shown just using decimal).


What browser are you testing with?
If you use an ul or ol tag, you are semantically defining a list even if you style it differently, so NVDA will always report that it is a list. However, at least in Firefox, NVDA should not report bullets if there are no bullets. This doesn't work in IE, though.