Rgaa Information Presentation 标志

Rgaa Information Presentation

社区
MTeelokee
rgaa-information-presentation

审计网页是否符合 RGAA v4.1.2 主题 10——信息呈现无障碍要求。检查是否通过 CSS 控制呈现、无 CSS 时内容是否仍可见且信息是否完整、文本放大至 200% 时是否不会丢失内容、前景色与背景色是否配对、链接是否有明显区分、焦点是否可见、隐藏内容是否得到妥善管理、信息是否不会仅通过形状/大小/位置传达、320px 宽度下是否能响应式重排、文本间距是否可调,以及悬停/聚焦时显示的额外内容是否可关闭、可悬停且会持续显示。当有人要求检查 CSS 无障碍、响应式设计、焦点可见性、缩放合规性或 RGAA 主题 10 时,使用此技能。

概览

发布者MTeelokee
代码仓库rgaa-accessibility-audit
技能名称rgaa-information-presentation
星标数
6
复刻数
1
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 MTeelokee 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Rgaa Information Presentation AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/MTeelokee/rgaa-accessibility-audit/tree/main/skills/rgaa-information-presentation
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MTeelokee/rgaa-accessibility-audit.git /tmp/rgaa-accessibility-audit
mkdir -p .claude/skills
cp -r /tmp/rgaa-accessibility-audit/skills/rgaa-information-presentation .claude/skills/rgaa-information-presentation
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Rgaa Information Presentation,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Rgaa Information Presentation。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Rgaa Information Presentation 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

RGAA Information Presentation Accessibility Audit (Theme 10)

Audits a web page against the 14 criteria of RGAA v4.1.2 Theme 10: Information Presentation.

Audit procedure

Step 1: Gather presentation data

javascript
(() => {
  const data = {};

  // Check CSS usage for presentation
  data.inlineStyles = document.querySelectorAll('[style]').length;

  // Focus visibility check
  data.focusElements = [];
  document.querySelectorAll('a[href], button, input, select, textarea, [tabindex]').forEach(el => {
    const style = getComputedStyle(el);
    data.focusElements.push({
      tag: el.tagName.toLowerCase(),
      type: el.type || null,
      outlineStyle: style.outlineStyle,
      outlineWidth: style.outlineWidth,
      outlineColor: style.outlineColor,
      text: el.textContent.trim().substring(0, 40)
    });
  });

  // Hidden content
  data.hiddenContent = [];
  document.querySelectorAll('[aria-hidden="true"], [hidden], .sr-only, .visually-hidden').forEach(el => {
    data.hiddenContent.push({
      tag: el.tagName.toLowerCase(),
      ariaHidden: el.getAttribute('aria-hidden'),
      hidden: el.hasAttribute('hidden'),
      display: getComputedStyle(el).display,
      visibility: getComputedStyle(el).visibility,
      hasText: !!el.textContent.trim(),
      classes: el.className?.toString().substring(0, 60)
    });
  });

  // Check for content visible only via CSS (::before/::after with content)
  data.cssContentCount = 0;
  // This requires stylesheet inspection, flagging for manual review

  // Viewport meta
  const viewport = document.querySelector('meta[name="viewport"]');
  data.viewport = viewport ? viewport.getAttribute('content') : null;

  // Check horizontal scroll at narrow width
  data.bodyScrollWidth = document.body.scrollWidth;
  data.viewportWidth = window.innerWidth;

  return JSON.stringify(data, null, 2);
})()

Step 2: Evaluate criteria

Criterion 10.1 – CSS controls presentation. CSS stylesheets (not inline styles or HTML attributes) should control layout and visual presentation. Check for <font>, bgcolor, align, valign HTML attributes, and excessive inline styles.

Criterion 10.2 – Visible informative content remains present when CSS is disabled. Content generated via CSS ::before/::after with content: that carries information must also be available in the DOM. Test by disabling CSS.

Criterion 10.3 – Information remains comprehensible when CSS is disabled. Content should remain readable and logically ordered without CSS.

Criterion 10.4 – Text remains readable at 200% zoom. When browser zoom is set to 200%, text must not overflow containers, be truncated, or overlap. No horizontal scrollbar should appear for text content. The meta viewport must not set maximum-scale=1 or user-scalable=no.

Criterion 10.5 – CSS foreground and background colors are paired. If CSS sets a text color, it must also set the background color (and vice versa). This prevents invisible text with high-contrast user stylesheets.

Criterion 10.6 – Links are visually distinguishable. Links within text blocks must be distinguishable from surrounding text by more than color alone (underline, border, font-weight, icon, etc.) or have 3:1 contrast with surrounding text.

Criterion 10.7 – Focus is visible on every focusable element. Every element receiving keyboard focus must have a visible focus indicator. Check that outline: none is not used without a replacement focus style.

Criterion 10.8 – Hidden content is correctly hidden from assistive tech. Content hidden with display:none or visibility:hidden should also be hidden from screen readers (no conflicting aria-hidden="false"). Content intended for screen readers only (.sr-only) should use the clip/clip-path technique, not display:none.

Criterion 10.9 – Information not conveyed by shape or position alone. Instructions like "click the round button" or "see the sidebar" must also provide a textual alternative.

Criterion 10.10 – Information not conveyed by shape, size, or position alone. Same principle: visual-only cues need text equivalents.

Criterion 10.11 – Content reflows without loss at 320px width (or 256px height for horizontal content). At 400% zoom (equivalent to 320px viewport), content must reflow without horizontal scrolling (except for data tables, maps, diagrams, video, code blocks). Check with viewport resize.

Criterion 10.12 – Text spacing can be adjusted. Users must be able to increase: line height to 1.5×, paragraph spacing to 2× font size, letter spacing to 0.12× font size, word spacing to 0.16× font size — without loss of content or functionality.

Criterion 10.13 – Additional content on focus/hover is dismissible, hoverable, persistent. Tooltips and popovers appearing on hover/focus must be:

  • Dismissible (Escape key or moving pointer without moving focus)
  • Hoverable (pointer can move over the additional content)
  • Persistent (stays visible until dismissed or focus/hover lost)

Criterion 10.14 – Additional CSS-only content is accessible. Content revealed purely via CSS (:hover, :focus) must be reachable and usable with keyboard.

Step 3: Visual testing

Several criteria require visual verification:

  • Take a screenshot at normal zoom and at 200% zoom to compare
  • Test at 320px width for reflow
  • Tab through the page to verify focus visibility
  • Apply text spacing overrides and verify no content is lost

Step 4: Generate report

WCAG references: 9.1.3.1 (A), 9.1.3.2 (A), 9.1.3.3 (AA), 9.1.4.4 (AA), 9.1.4.8 (AAA), 9.1.4.10 (AA), 9.1.4.12 (AA), 9.1.4.13 (AA), 9.2.4.7 (AA)

常见问题

Rgaa Information Presentation AI 技能有什么作用?

审计网页是否符合 RGAA v4.1.2 主题 10——信息呈现无障碍要求。检查是否通过 CSS 控制呈现、无 CSS 时内容是否仍可见且信息是否完整、文本放大至 200% 时是否不会丢失内容、前景色与背景色是否配对、链接是否有明显区分、焦点是否可见、隐藏内容是否得到妥善管理、信息是否不会仅通过形状/大小/位置传达、320px 宽度下是否能响应式重排、文本间距是否可调,以及悬停/聚焦时显示的额外内容是否可关闭、可悬停且会持续显示。当有人要求检查 CSS 无障碍、响应式设计、焦点可见性、缩放合规性或 RGAA 主题 10 时,使用此技能。

为什么在 TypingMind 中使用 Rgaa Information Presentation?

因为您只需安装一次,就能搭配任何模型使用。Rgaa Information Presentation 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Rgaa Information Presentation?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/MTeelokee/rgaa-accessibility-audit/tree/main/skills/rgaa-information-presentation。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Rgaa Information Presentation?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Rgaa Information Presentation 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Rgaa Information Presentation 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Rgaa Information Presentation AI 技能免费吗?

是的。MTeelokee 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇