Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
fb6c5a4
Start adding accessibility section to control panel page
gcamacho079 Nov 30, 2025
bf96365
Add skip link picture and notes about non-global skip links
gcamacho079 Nov 30, 2025
6337cfc
Undo changes to package-lock ???
gcamacho079 Dec 1, 2025
eaff23c
try try again
gcamacho079 Dec 1, 2025
cd3eaaa
again
gcamacho079 Dec 1, 2025
af92013
Finalize a11y info update
gcamacho079 Dec 17, 2025
8b918a4
textlint fixes
gcamacho079 Dec 17, 2025
f3ab414
Control panel tour overhaul
AugustMiller Jan 9, 2026
1179e81
`alt` text migration notes
AugustMiller Jan 9, 2026
68d02df
"Default" badge style (unused)
AugustMiller Jan 9, 2026
34ee646
Region and skip link cleanup
AugustMiller Jan 9, 2026
6087515
Add error summary screenshot
AugustMiller Jan 9, 2026
7806b0a
Support "dynamic" tokens in Journey component
AugustMiller Jan 13, 2026
903c662
Flesh out accessibility page outline
AugustMiller Jan 13, 2026
d52e8de
Fix sentence in multi-select field
AugustMiller Jan 13, 2026
33f4e68
Fix spacing in glossary term HUD
AugustMiller Jan 13, 2026
95ca271
Where edit image buttons appear, file kind disclaimer
AugustMiller Jan 13, 2026
d7f31a1
Maybe slightly better labeling for glossary HUDs?
AugustMiller Jan 13, 2026
f4469d2
Rich text field behaviors and video transcripts
AugustMiller Jan 13, 2026
802e277
Reference tags and Markdown
AugustMiller Jan 13, 2026
8a97fb3
Remove incorrect heading level
AugustMiller Jan 13, 2026
f426bdb
Add info about alt text decision tree, use null alt in code example, …
gcamacho079 Jan 14, 2026
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
24 changes: 22 additions & 2 deletions docs/.vuepress/components/Journey.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ol class="journey theme-default-content-override">
<li v-for="(segment, i) in segments" :key="i" class="step">
{{ ' ' }}
<span class="step-label">{{ segment }}</span><span v-if="i < (segments.length - 1)" class="step-arrow" aria-hidden="true">&rarr;</span>
<span :class="{ 'step-label': true, 'step-label--is-user-defined': segment.isDynamic }">{{ segment.label }}</span><span v-if="i < (segments.length - 1)" class="step-arrow" aria-hidden="true">&rarr;</span>
</li>
</ol>
</template>
Expand All @@ -14,7 +14,23 @@ export default {
},
computed: {
segments() {
return this.path.split(',').map((s) => s.trim());
let arr = this.path.split(',')
.map((s) => s.trim())
.map(function(s) {
if (s.indexOf('*') === 0) {
return {
label: s.substring(1),
isDynamic: true,
};
}

return {
label: s,
isDynamic: false,
};
});

return arr;
}
}
};
Expand All @@ -39,6 +55,10 @@ export default {
font-weight: bold;
padding: 2px 7px 1px;
white-space: nowrap;

&--is-user-defined {
border-style: dashed;
}
}

.step-arrow {
Expand Down
1 change: 1 addition & 0 deletions docs/.vuepress/sets/craft-cms.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ module.exports = {
"development/eager-loading",
"development/image-transforms",
"development/forms",
"development/accessibility",
"development/graphql",
"development/collections",
]
Expand Down
9 changes: 9 additions & 0 deletions docs/.vuepress/theme/global-components/Badge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ export default {
background-color: #e7c000;
}

&.default {
@apply bg-transparent leading-none h-auto;

border-width: 1px;
border-color: var(--border-color);
color: var(--sidebar-link-color);
padding: 4px calc(4px - 0.1em) 4px 5px;
}

/* Custom Badge Types */

&.verb {
Expand Down
8 changes: 7 additions & 1 deletion docs/.vuepress/theme/global-components/InfoHud.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="info-hud">
<v-popover placement="right" :click="handleClick">
<button>
<button :title="activateLabel">
<svg class="info-circle" viewBox="0 0 512 512">
<path
d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"
Expand Down Expand Up @@ -30,6 +30,12 @@ export default {
e.preventDefault();
},
},
props: {
activateLabel: {
type: String,
default: 'Open',
},
},
};
</script>

Expand Down
37 changes: 23 additions & 14 deletions docs/.vuepress/theme/global-components/Term.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,25 @@
:title="`${label} in the Glossary`"
v-text="label"></a>

<InfoHud>
<InfoHud :activateLabel="triggerLabel">
<template v-if="loaded">
<h3 class="glossary-term-heading" v-text="this.term.title"></h3>
<div class="glossary-term-content theme-default-content" v-html="this.term.summaryHtml"></div>

<a :href="this.term.url" target="_blank" class="glossary-term-more">
<span class="glossary-term-more-label">View in the glossary</span>
<span class="glossary-term-more-arrow">&rarr;</span>
</a>

<div v-if="this.term.docsLinks.length" class="glossary-term-docs-links">
<h4 class="glossary-term-heading">In the documentation…</h4>
<ul class="glossary-term-docs-links-list">
<li v-for="(link, i) in this.term.docsLinks" v-bind:key="i" class="glossary-term-docs-link">
<a :href="link.url">{{ link.title }}</a>
</li>
</ul>
<div class="glossary-term-nav">
<a :href="this.term.url" target="_blank" class="glossary-term-more">
<span class="glossary-term-more-label">View in the glossary</span>
<span class="glossary-term-more-arrow">&rarr;</span>
</a>

<div v-if="this.term.docsLinks.length" class="glossary-term-docs-links">
<h4 class="glossary-term-heading">In the documentation…</h4>
<ul class="glossary-term-docs-links-list">
<li v-for="(link, i) in this.term.docsLinks" v-bind:key="i" class="glossary-term-docs-link">
<a :href="link.url">{{ link.title }}</a>
</li>
</ul>
</div>
</div>
</template>
<template v-else>
Expand Down Expand Up @@ -55,6 +57,10 @@
padding: 0;
}

.glossary-term-nav {
@apply mt-2;
}

.glossary-term-more {}

.glossary-term-more-label {
Expand Down Expand Up @@ -115,7 +121,10 @@ export default {
},
apiUrl() {
return `${CRAFTCOM_BASE_URL}/api/glossary/${this.slug}`;
}
},
triggerLabel() {
return `Open definition for “${this.label}”`;
},
},
mounted() {},
data() {
Expand Down
Loading