GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #522 from developing-today/palette-a11y-aria-label… · developing-today/code@b4038bb

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • pkgs/id/src/web
    • templates.rs
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎pkgs/id/src/web/templates.rs‎

Copy file name to clipboardExpand all lines: pkgs/id/src/web/templates.rs
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ pub fn render_main_page_wrapper(content: &str) -> String {
9393
html.push_str(" <a href=\"/peers\" data-nav class=\"crt-glow\">peers</a>\n");
9494
html.push_str(" <a href=\"/settings\" data-nav class=\"crt-glow\">settings</a>\n");
9595
html.push_str(" <span class=\"flex items-center gap-1\">\n");
96-
html.push_str(" <button class=\"theme-btn\" data-theme=\"sneak\" title=\"Sneak theme\"></button>\n");
97-
html.push_str(" <button class=\"theme-btn\" data-theme=\"arch\" title=\"Arch theme\"></button>\n");
98-
html.push_str(" <button class=\"theme-btn\" data-theme=\"mech\" title=\"Mech theme\"></button>\n");
96+
html.push_str(" <button class=\"theme-btn\" data-theme=\"sneak\" title=\"Sneak theme\" aria-label=\"Sneak theme\"></button>\n");
97+
html.push_str(" <button class=\"theme-btn\" data-theme=\"arch\" title=\"Arch theme\" aria-label=\"Arch theme\"></button>\n");
98+
html.push_str(" <button class=\"theme-btn\" data-theme=\"mech\" title=\"Mech theme\" aria-label=\"Mech theme\"></button>\n");
9999
html.push_str(" </span>\n");
100100
html.push_str(" </nav>\n");
101101
html.push_str(" </header>\n");
@@ -458,9 +458,9 @@ pub fn render_editor(doc_id: &str, name: &str, content: &str, hash: &str) -> Str
458458
html.push_str(" <a href=\"/peers\" data-nav>peers</a>\n");
459459
html.push_str(" <a href=\"/settings\" data-nav>settings</a>\n");
460460
html.push_str(" <span class=\"flex items-center gap-1\">\n");
461-
html.push_str(" <button class=\"theme-btn\" data-theme=\"sneak\" title=\"Sneak theme\"></button>\n");
462-
html.push_str(" <button class=\"theme-btn\" data-theme=\"arch\" title=\"Arch theme\"></button>\n");
463-
html.push_str(" <button class=\"theme-btn\" data-theme=\"mech\" title=\"Mech theme\"></button>\n");
461+
html.push_str(" <button class=\"theme-btn\" data-theme=\"sneak\" title=\"Sneak theme\" aria-label=\"Sneak theme\"></button>\n");
462+
html.push_str(" <button class=\"theme-btn\" data-theme=\"arch\" title=\"Arch theme\" aria-label=\"Arch theme\"></button>\n");
463+
html.push_str(" <button class=\"theme-btn\" data-theme=\"mech\" title=\"Mech theme\" aria-label=\"Mech theme\"></button>\n");
464464
html.push_str(" </span>\n");
465465
html.push_str(" </nav>\n");
466466
html.push_str(" </div>\n");
@@ -474,7 +474,7 @@ pub fn render_editor(doc_id: &str, name: &str, content: &str, hash: &str) -> Str
474474
html.push_str(" <span class=\"flex items-center gap-1\" id=\"tag-add-inline\">\n");
475475
html.push_str(" <input type=\"text\" id=\"tag-add-key\" class=\"input input-bordered input-xs w-20 bg-base-100\" placeholder=\"key\" />\n");
476476
html.push_str(" <input type=\"text\" id=\"tag-add-value\" class=\"input input-bordered input-xs w-20 bg-base-100\" placeholder=\"value\" />\n");
477-
html.push_str(" <button class=\"btn btn-ghost btn-xs font-mono\" onclick=\"window.idApp?.addTagInline?.()\">+</button>\n");
477+
html.push_str(" <button class=\"btn btn-ghost btn-xs font-mono\" aria-label=\"Add tag\" onclick=\"window.idApp?.addTagInline?.()\">+</button>\n");
478478
html.push_str(" </span>\n");
479479
html.push_str(" </div>\n");
480480

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.