Closed
Bug 1069367
Opened 10 years ago
Closed 10 years ago
"Header" should be below in card in markup
Categories
(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: eeejay, Assigned: obara.justin, Mentored)
References
Details
(Keywords: access, Whiteboard: [b2ga11y p=1][good first bug][lang=html][lang=css])
Attachments
(1 file)
46 bytes,
text/x-github-pull-request
|
alive
:
review+
yzen
:
a11y-review+
|
Details | Review |
The header appears below the card in cards view, but in the markup it is above. This is confusing for the screen reader user since the swipe order contradicts the spatial order.
Updated•10 years ago
|
Mentor: yzenevich
Whiteboard: [b2ga11y p=1] → [b2ga11y p=1][good first bug]
Updated•10 years ago
|
Whiteboard: [b2ga11y p=1][good first bug] → [b2ga11y p=1][good first bug][lang=html][lang=css]
Comment 1•10 years ago
|
||
I would like to be assigned this bug if possible, where do I start?
Comment 2•10 years ago
|
||
(In reply to Pete Chambers from comment #1) > I would like to be assigned this bug if possible, where do I start? Yes, please :). For your first steps you should check out: https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/card.js and see how the markup is structured there. What we want is the markup to be consistent with presentation (where the header is ahead of screenshot/icon view). Thanks!
Assignee: nobody → petechambers1992
Comment 3•10 years ago
|
||
First of all thanks for assigning me to the bug, I just had a look at how it is structured and got a good idea of what is included however I'm a little confused as to where the header is located in the file?
Comment 4•10 years ago
|
||
Not to worry I think I've located it, I think it may have been because I was viewing it on my mobile device at first! :)
Updated•10 years ago
|
Assignee: petechambers1992 → nobody
Comment 5•10 years ago
|
||
I'm really sorry Yura but I didn't feel like I could help with this bug and have looked into another bug. Sorry again
Yura, is this still an issue? The screenshotView class is at the top of the markup. https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/card.js#L73-L93 Unfortunately, I can't seem to get the simulator to run and don't have a device to test this out to be sure.
Attachment #8507331 -
Flags: review?(yzenevich)
Comment 8•10 years ago
|
||
Comment on attachment 8507331 [details] [review] Moved the markup for the header to come before the screenshot. While this had been done with styling, it is more semantic it this way in the markup as well. This looks good from a11y point of view. The order of the header and the screen shot is now correct. Justin, could you please rebase your PR to re-trigger the tests, there were some failing tests (though unrelated). Thanks!
Flags: needinfo?(obara.justin)
Attachment #8507331 -
Flags: review?(yzenevich)
Attachment #8507331 -
Flags: review?(alive)
Attachment #8507331 -
Flags: a11y-review+
Yura, I've rebased the PR and pushed up.
Flags: needinfo?(obara.justin)
Comment 10•10 years ago
|
||
https://treeherder.allizom.org/ui/#/jobs?repo=gaia&revision=8a64787109a492dd8ef0febd11cb54578c44a34e
Comment 11•10 years ago
|
||
Comment on attachment 8507331 [details] [review] Moved the markup for the header to come before the screenshot. While this had been done with styling, it is more semantic it this way in the markup as well. LGTM
Attachment #8507331 -
Flags: review?(alive) → review+
Comment 12•10 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/e09e1734ad523cf63351a28f6f84454319349fbe Thanks for the PR!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•