@rgaaudit/mcp-server 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -81,7 +81,7 @@ server.tool('rgaa_audit', 'Lancer un audit d\'accessibilité RGAA 4.1 complet su
81
81
  text += `### ${i + 1}. ${v.criteriaTitle || v.description}\n`;
82
82
  text += `- **Critère RGAA** : ${v.criteria || 'N/A'}${v.theme ? ` (${v.theme})` : ''}\n`;
83
83
  text += `- **Impact** : ${v.impact}\n`;
84
- text += `- **Éléments** : ${v.nodesCount} nœuds sur ${v.pagesCount} pages\n`;
84
+ text += `- **Éléments** : ${v.nodesCount} nœuds\n`;
85
85
  if (v.zone)
86
86
  text += `- **Zone** : ${v.zone}\n`;
87
87
  if (v.suggestion)
@@ -130,7 +130,7 @@ server.tool('rgaa_check', 'Vérifier un critère RGAA spécifique sur une URL. P
130
130
  }
131
131
  const text = `❌ Critère RGAA ${criteria} : **${matching.length} violation(s)** sur ${url}\n\n` +
132
132
  matching.map(v => `- **${v.criteriaTitle || v.description}** (${v.impact})\n` +
133
- ` ${v.nodesCount} nœuds sur ${v.pagesCount} pages\n` +
133
+ ` ${v.nodesCount} nœuds\n` +
134
134
  (v.suggestion ? ` 💡 ${v.suggestion}\n` : '')).join('\n') +
135
135
  `\n🔗 Détails : ${result.auditUrl}`;
136
136
  return { content: [{ type: 'text', text }] };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rgaaudit/mcp-server",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "MCP Server RGAA 4.1 — Audit d'accessibilité pour Claude Code, Cursor, Copilot",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",