addedInput schema / properties / a11yStandard
Added value: +{
+ "default": "wcag-aa",
+ "description": "a11y 标准级别:wcag-a / wcag-aa / wcag-aaa",
+ "type": "string"
+}
addedInput schema / properties / dimensions
Added value: +{
+ "default": [
+ "functional",
+ "visual",
+ "performance",
+ "a11y"
+ ],
+ "description": "验证维度列表,可选:functional、visual、performance、a11y",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+}
addedInput schema / properties / outputFormat
Added value: +{
+ "default": "json",
+ "description": "输出格式:json / markdown",
+ "type": "string"
+}
addedInput schema / properties / performanceThreshold
Added value: +{
+ "description": "性能阈值(LCP ms),默认 2500",
+ "type": "number"
+}
addedInput schema / properties / url
Added value: +{
+ "description": "目标页面 URL",
+ "type": "string"
+}
addedInput schema / properties / visualBaseline
Added value: +{
+ "description": "视觉基线截图路径(可选)",
+ "type": "string"
+}
changedInput schema / required
Previous value: -[
- "roles",
- "features"
-]New value: +[
+ "url",
+ "roles",
+ "features"
+]
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "artifacts": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "dimensions": {
+ "properties": {
+ "a11y": {
+ "description": "无障碍维度评分",
+ "type": "object"
+ },
+ "functional": {
+ "description": "功能维度评分",
+ "type": "object"
+ },
+ "performance": {
+ "description": "性能维度评分",
+ "type": "object"
+ },
+ "visual": {
+ "description": "视觉维度评分",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "grade": {
+ "description": "等级 A/B/C/D/F",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "overallScore": {
+ "description": "综合评分 0-100",
+ "type": "number"
+ },
+ "recommendations": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "roleMatrix": {
+ "description": "角色×功能矩阵结果",
+ "type": "array"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+}