bullets of nested not ordered lists have one and the same character

RESOLVED FIXED in mozilla2.0b7

Status

()

Core
Disability Access APIs
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: surkov, Assigned: surkov)

Tracking

(Blocks: 1 bug, {access})

unspecified
mozilla2.0b7
access
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
We expose 0x2022 character for any bullet of not ordered lists, taking into account neither list level nor bullet graphics. I think it makes sense to expose the character that corresponds to visual presentation of bullet, that could be corresponding unicode symbol.

The bullet text presentation is in nsBlockFrame::GetBulletText() (http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsBlockFrame.cpp#6526).

Robert, is unicode characters are used to draw bullets or is it an image? Is there a nice way to convert list style types like NS_STYLE_LIST_STYLE_DISC to unicode?
We draw circles, squares etc explicitly.

There probably are circle and square Unicode characters you could use here. I don't know if that would actually help ATs at all.
(Assignee)

Comment 2

8 years ago
(In reply to comment #1)
> I don't know if that would actually help ATs at all.

This was requested by AT vendor. I guess they have either an ability to pronounce unicode characters or want to use them to differentiate list bullets form nested lists without accessible tree traversal.
(Assignee)

Comment 3

8 years ago
We could use the following unicode characters:

'•' - 2022 - bullet - NS_STYLE_LIST_STYLE_DISC
'▪' - 25AA - black small square - NS_STYLE_LIST_STYLE_SQUARE
'◦' - 25E6 - white bullet - NS_STYLE_LIST_STYLE_CIRCLE

Jamie, is NVDA fine with that?

Comment 4

8 years ago
(In reply to comment #3)
> '•' - 2022 - bullet - NS_STYLE_LIST_STYLE_DISC
> '▪' - 25AA - black small square - NS_STYLE_LIST_STYLE_SQUARE
> '◦' - 25E6 - white bullet - NS_STYLE_LIST_STYLE_CIRCLE
> Jamie, is NVDA fine with that?
NVDA/eSpeak isn't currently reading the last two. However, we can add these when we rework our punctuation/symbol handling. In short, I support this change; we should fix the reading of these characters on our side. :)
(Assignee)

Comment 5

8 years ago
Great, thank you.

Comment 6

8 years ago
(In reply to comment #3)
> '◦' - 25E6 - white bullet - NS_STYLE_LIST_STYLE_CIRCLE
White bullet, eh? I assume this is just a hollow circular bullet? "White bullet" is not a particularly descriptive name. :) Is there a better symbol we can use or does this actually look closest?

Comment 7

8 years ago
Just for another reference, OpenOffice.org uses:
* Solid small circular bullets: '•' (2022)
* Solid large circular bullets: '●' (25cf)
* Solid large square bullets: '' (e001)
NVDA still doesn't read the last two, though. :)
(Assignee)

Comment 8

8 years ago
(In reply to comment #6)
> (In reply to comment #3)
> > '◦' - 25E6 - white bullet - NS_STYLE_LIST_STYLE_CIRCLE
> White bullet, eh? I assume this is just a hollow circular bullet?

right.

> "White
> bullet" is not a particularly descriptive name. :) Is there a better symbol we
> can use or does this actually look closest?

it's just a name from Arial font in charmap util. It looks close enough, it's a bit smaller than drawn circle but I think it doesn't make a difference, especially because character visual presentation should depend on chosen font.
(Assignee)

Comment 9

8 years ago
Created attachment 483432 [details] [diff] [review]
patch
Assignee: nobody → surkov.alexander
Status: NEW → ASSIGNED
Attachment #483432 - Flags: superreview?(roc)
Attachment #483432 - Flags: review?(bolterbugz)
Attachment #483432 - Flags: approval2.0?
Comment on attachment 483432 [details] [diff] [review]
patch

This did not need superreview.
Attachment #483432 - Flags: superreview?(roc)
Attachment #483432 - Flags: superreview+
Attachment #483432 - Flags: approval2.0?
Attachment #483432 - Flags: approval2.0+
Comment on attachment 483432 [details] [diff] [review]
patch

r=me. (I don't think we heard back from all vendors right?)
Attachment #483432 - Flags: review?(bolterbugz) → review+
(Assignee)

Comment 12

8 years ago
(In reply to comment #11)
> Comment on attachment 483432 [details] [diff] [review]
> patch
> 
> r=me. (I don't think we heard back from all vendors right?)

not all, but some of them, OpenOffice makes similar things, I don't think that's what we should check with all AT vendors. Just that should be documented.
(Assignee)

Comment 13

8 years ago
landed  on 2.0 - http://hg.mozilla.org/mozilla-central/rev/c051f575d22f
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
Target Milestone: mozilla2.0b8 → mozilla2.0b7
You need to log in before you can comment on or make changes to this bug.