#12097 closed Bug (fixed)
AVT: JAWS not reading number of list options correctly in colours list box
Reported by: | Satya Minnekanti | Owned by: | Marek Lewandowski |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.4.5 |
Component: | General | Version: | 3.6.3 |
Keywords: | IBM | Cc: | Irina |
Description
To reproduce the defect:
- with JAWS on, open any sample on ck editor nightly build
- Navigate to Text color / Background Color button menu and press Enter or Down arrow key
Expected Result: Color options list box opens and JAWS reads Automatic 1 of 40
Actual Result: Color options list box opens but JAWS reads Automatic 1 of 1 which is wrong and gives wrong info for JAWS user that there is only one option
Navigate through all color options in the colors list box
Expected Result: JAWS reads each Color option name and then says 1 of 40 2 of 40 and so on
Actual Result: JAWS reads each color option name but it says 1 of 1 which is wrong and gives info for JAWS user that there is only one option
Tested with FF29 & JAWS15
Change History (9)
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|
comment:2 follow-up: 3 Changed 11 years ago by
Version: | → 3.6.3 |
---|
Problem can be reproduced from CKEditor 3.6.3 rev. [7443].
comment:3 Changed 11 years ago by
Replying to j.swiderski:
Problem can be reproduced from CKEditor 3.6.3 rev. [7443].
You're right, these attributes are needed when we have table-based layout there.
I can see two options here:
- We can simply revert changes pointed by Kuba.
- We can restructure markup for options in picker (avoid using tables).
I've pushed a branch with reverted attributes to t/12097.
comment:4 Changed 11 years ago by
Owner: | set to Marek Lewandowski |
---|---|
Status: | confirmed → review |
These attributes were too hastily removed from colorbox in #8407.
In theory they should not be needed, but JAWS does not list [role=option]
elements correctly when they are nested within table (as shown in sample few comments above), therefore we need fallback to manualy pointing sizes to screen readers.
comment:5 Changed 10 years ago by
The change [7443] has not been fully reverted. Only the first and last options have aria-posinset attributes. Was there any reason for reverting that change partially? Does JAWS handle this list with just two attributes?
comment:7 Changed 10 years ago by
This part was missing, I've added that to branch t/12097.
While testing this solution I found related issue, aria-setsize
was lower by one in case when:
config.colorButton_enableMore
is undefined (default case, value is treated as true).colordialog
plugin is not loaded.
I've fixed with git:99699fc. If you think that this is not related to the ticket, please remove this commit.
comment:8 Changed 10 years ago by
Milestone: | → CKEditor 4.4.5 |
---|---|
Resolution: | → fixed |
Status: | review → closed |
Fixed on master with git:f7198e0.
I noticed that checking colorButton_enableMore !== false
would make more sense, but I left your version since so far we were comparing it to undefined
, just like you did.
comment:9 Changed 10 years ago by
After a while I changed my mind, because of course colorButton_enableMore
is documented to be a boolean so using e.g. 0
is incorrect.
Fix in git:7f82350.
It seems that JAWS haves issues if options are in diffrent
TD
elements, which is the case with our colors.You can see it in following example: