-
Notifications
You must be signed in to change notification settings - Fork 693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
semantic (HTML5/ARIA) page structure in Source Interface #5986
Comments
These ALT attributes are effectively an accessibility shim, to provide the desired narration of flashed messages pending a more–semantically-minded refactoring in #5986 and #5987. See discussion in <#5996 (comment)>.
These ALT attributes are effectively an accessibility shim, to provide the desired narration of flashed messages pending a more–semantically-minded refactoring in #5986 and #5987. See discussion in <#5996 (comment)>.
These ALT attributes are effectively an accessibility shim, to provide the desired narration of flashed messages pending a more–semantically-minded refactoring in #5986 and #5987. See discussion in <#5996 (comment)>.
@zenmonkeykstop, I'm starting work on this with the assumption that this and #5987 will each take the form of an omnibus PR consisting of:
Given this scope, is there a particular sequence or structure you'd like to see the PR follow for ease of review? |
A single big PR is fine for this IMO, the scope isn't that massive and there isn't an obvious clean way to separate it given styles being used across multiple templates. If you are still thinking of a 3-phase approach, rebasing each phase's commits into one would be helpful but is not required. Note that you may (will) encounter SASS modules shared between the SI and JI. If you do want separate PRs for both then you may need to either duplicate some modules or deal with breakage in the JI while you're working in the SI. If it's particularly egregious having dedicated SI or JI SASS is preferable IMO. Also note there will probably be an impact on functional tests. You might need to clean those up as well after you're done with UI changes, especially if id/class names get changed as part of the process. Otherwise, plan looks solid, have at it! |
A refactoring like #5986 seems like a good opportunity for this kind of reformatting.
A refactoring like #5986 seems like a good opportunity for this kind of reformatting.
Description
Accessibility Lab recommendations include:
h1
...hn
hierarchyOur findings include:
img
elements to CSS styles on semantic elementsUser Research Evidence
WCAG 1.3.1 per #5972.
Progress
To invert the way things are usually done :-):
img
/hr
/etc. elements: mark asFIXME
s to move to CSS styles on semantic elementsh1
...hn
hierarchyFIXME
ssecuredrop/source_templates
├── banner_warning_flashed.html
├── base.html
├── error.html
├── first_submission_flashed_message.html
├── flashed.html
├── footer.html
├── generate.html
├── index.html
├── locales.html
├── login.html
├── logout.html
├── lookup.html
├── next_submission_flashed_message.html
├── notfound.html
├── session_timeout.html
├── tor2web-warning.html
├── use-tor-browser.html
└── why-public-key.html
Specific cases (could be filed as separate issues)
securedrop/source_templates/generate.html
:p.explanation
should be associated withp#codename
The text was updated successfully, but these errors were encountered: