diff --git a/src/build/assets/navigation.js b/src/build/assets/navigation.js index ac4341d..5bec919 100644 --- a/src/build/assets/navigation.js +++ b/src/build/assets/navigation.js @@ -127,6 +127,11 @@ function initializeSiteTree() { if (index > 0) { const separator = document.createElement('span'); separator.appendChild(chevronRightIcon.cloneNode(true)); + // TODO: Clarify what label works best for screen reader + // users to succinctly express "separator indicating + // going down the hierarchy" (respectively use a semantic + // construct around the "breadcrumbs" in which the + // separators are hidden from screenreaders instead). separator.setAttribute('aria-label', '>'); spanTitle.appendChild(separator); @@ -182,6 +187,11 @@ function initializeSiteTree() { if (index > 0) { const separator = document.createElement('span'); separator.appendChild(chevronRightIcon.cloneNode(true)); + // TODO: Clarify what label works best for screen reader + // users to succinctly express "separator indicating + // going down the hierarchy" (respectively use a semantic + // construct around the "breadcrumbs" in which the + // separators are hidden from screenreaders instead). separator.setAttribute('aria-label', '>'); spanTitle.appendChild(separator); diff --git a/src/build/video.rs b/src/build/video.rs index 0a526f3..a3d1235 100644 --- a/src/build/video.rs +++ b/src/build/video.rs @@ -140,6 +140,14 @@ pub fn video_html( let links_rendered = links(&site.language, &video.links); + // TODO: Expose/unhide synopsis if and when it makes sense again + // let synopsis = if let Some(synopsis) = &video.synopsis { + // let synopsis_escaped = html_escape_outside_attribute(synopsis); + // format!("
{synopsis_escaped}
") + // } else { + // String::new() + // }; + let actions = if actions.is_empty() { String::new() } else { diff --git a/src/editor/endpoints/video/edit.rs b/src/editor/endpoints/video/edit.rs index b23b79f..d8068cf 100644 --- a/src/editor/endpoints/video/edit.rs +++ b/src/editor/endpoints/video/edit.rs @@ -252,7 +252,10 @@ pub fn edit_page(