Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

🎨 Add redesign of Techniques, Understanding templates #2012

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

Closed
wants to merge 66 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
b4177e2
Tweak templates and styles
hidde Aug 24, 2021
a1fca10
output current date for updated
Oct 9, 2021
baa6b86
current year in copyright
Oct 9, 2021
143870e
Provide name of suite for header
Oct 9, 2021
f42fa79
wrap major sections in details
Oct 9, 2021
04f4553
Add headers and footers to index files
Oct 9, 2021
a125244
just call a technique sufficient if we couldn't be bothered to write …
Oct 9, 2021
df533ed
output SC in sufficiency
Oct 9, 2021
344f10c
fix some links
Oct 9, 2021
252394f
put about pages into the standard processing
Oct 10, 2021
5ab3e88
Clean up the about files
Oct 10, 2021
35e57ac
Add WAI main JS to trigger back to top link logic
hidde Oct 11, 2021
39e65eb
Fix link to About Understanding page
hidde Oct 11, 2021
b31dfe8
Remove comment
hidde Oct 11, 2021
1d0a9f6
Use shared navigation template
hidde Oct 11, 2021
71e7c7f
Add dir so that WAI CSS applies more appropriately
hidde Oct 11, 2021
c11a417
Remove spaces, space is controlled with CSS
hidde Oct 11, 2021
2ecff14
Move dir attr to body to avoid breaking build
hidde Oct 11, 2021
00f956c
Use minimal-* classnames to match WAI Design Components names
hidde Oct 11, 2021
757c782
Improve small screen rendering
hidde Oct 12, 2021
93e0fd4
Use proper name for header
hidde Oct 12, 2021
9074251
Ignore outputted files
hidde Oct 13, 2021
e031f94
Use 'Understanding documents' as set name
hidde Oct 13, 2021
f592ea9
Remove site-header ID to fix alignment
hidde Oct 13, 2021
ec06038
Don't use visited colors for TOC links
hidde Oct 13, 2021
57b7129
Display All Techniques without expand/collapses
hidde Oct 13, 2021
256fc98
Add expand collapse all where relevant
hidde Oct 13, 2021
2bf0794
Remove whitespace
hidde Oct 13, 2021
0bd6c8a
Update
hidde Oct 13, 2021
ba0045d
Use correct classname
hidde Oct 13, 2021
c4b66b4
Style notes
hidde Oct 13, 2021
bc4a0a9
Ensure space underneath pager
hidde Oct 13, 2021
13294f0
remove details / summary for now
Nov 15, 2021
1aaf6d6
Merge branch 'main' into redesign
Dec 10, 2021
3b20c56
jiggle parts of h1 contents
Dec 10, 2021
46bbcce
new version of sc quote
Dec 10, 2021
3c68f66
preliminary redo of sidebar
Dec 10, 2021
b3f706d
simplify SC info
Dec 10, 2021
2d66578
add level to SC
Dec 10, 2021
9b53afc
Change contribution info of Hidde de Vries (#2165)
hidde Dec 14, 2021
9dda817
good point to save changes
Jan 7, 2022
43d5a99
not quite working but I'm stopping here
Jan 7, 2022
da59f08
Update generate-understanding.xslt
Jan 8, 2022
37cb970
finally working ok
Jan 10, 2022
d260ab7
seems to be working finally
Jan 10, 2022
117d203
starting to work css back in to nav
Jan 12, 2022
dec8791
getting closer to generating something css friendly, though horribly …
Jan 12, 2022
303c9fd
well, it's working for the sidebar nav now
Jan 13, 2022
a544faf
Merge branch 'main' into redesign
Jan 13, 2022
84be843
Text for minimal-header-link: About WCAG Understanding Docs
Mar 18, 2022
f412a46
in minimal-header-name, capitalize "documents", remove colon:
Mar 18, 2022
8ba2068
delete "About Understanding documents" and "All WCAG 2 Guidance"
Mar 18, 2022
ea98809
move prev / next calcs to own templates
Mar 18, 2022
57ce739
capitalize and abbreviate "documents" in "All Understanding Docs"
Mar 18, 2022
47d4fe4
option to filter preamble
Mar 21, 2022
a2280a0
Still trying to make this piece of shit work without wasting even mor…
Mar 22, 2022
5ff5b0d
eliding not working dont know why
Mar 23, 2022
93b2166
sidebar
Mar 23, 2022
555456b
trying to restore key terms
Mar 23, 2022
45a652c
remove useless date
Mar 23, 2022
9f3946b
designer credit, 'cause of course that's what's really important
Mar 23, 2022
57bf915
remove bottom nav
Mar 23, 2022
0dd3315
restore key terms output
Apr 12, 2022
f1461a2
remove collapsos from techniques
Apr 12, 2022
209236d
add self-link
Apr 12, 2022
00433ee
Merge branch 'main' into redesign
Apr 12, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Provide name of suite for header
  • Loading branch information
Michael Cooper committed Oct 9, 2021
commit 143870efb1cd904a59825c604b13ae38acf97cfb
3 changes: 1 addition & 2 deletions 3 xslt/base.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
<xsl:param name="techniques.file">../techniques/techniques.xml</xsl:param>
<xsl:variable name="techniques.doc" select="document($techniques.file)"/>

<xsl:param name="documentset.name">Techniques</xsl:param>

<xsl:param name="versions.file">../guidelines/versions.xml</xsl:param>
<xsl:variable name="versions.doc" select="document($versions.file)"/>

Expand Down Expand Up @@ -196,6 +194,7 @@
</xsl:template>

<xsl:template name="header">
<xsl:param name="documentset.name" required="yes"/>
<header id="site-header" class="default-grid with-gap">
<div class="tool-header">
<span class="tool-header-name"><a href="../">WCAG <xsl:value-of select="$guidelines.version.decimal"/>: <xsl:value-of select="$documentset.name"/></a></span>
Expand Down
4 changes: 3 additions & 1 deletion 4 xslt/generate-techniques.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@
<link rel="stylesheet" href="../base.css" />
</head>
<body>
<xsl:call-template name="header" />
<xsl:call-template name="header">
<xsl:with-param name="documentset.name">Techniques</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="navigation" />
<div class="default-grid">
<main class="main-content">
Expand Down
4 changes: 3 additions & 1 deletion 4 xslt/generate-understanding.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,9 @@
<link rel="stylesheet" href="base.css" />
</head>
<body>
<xsl:call-template name="header" />
<xsl:call-template name="header">
<xsl:with-param name="documentset.name">Understanding</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="navigation"/>
<div class="default-grid">
<main class="main-content">
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.