fix: add kbd tags to validation messages for clarity
- Wrap HTML element names in <kbd> tags in all validation messages - Apply consistent formatting to both English and German lessons - Make hints clearer about which elements/attributes to use - Fix mobile editor layout overflow issue 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -21,17 +21,17 @@
|
||||
{
|
||||
"type": "element_exists",
|
||||
"value": "dialog",
|
||||
"message": "Füge ein <dialog>-Element hinzu"
|
||||
"message": "Füge ein <kbd><dialog></kbd>-Element hinzu"
|
||||
},
|
||||
{
|
||||
"type": "attribute_value",
|
||||
"value": { "selector": "dialog", "attr": "open", "value": true },
|
||||
"message": "Füge das 'open'-Attribut hinzu, um den Dialog anzuzeigen"
|
||||
"message": "Füge das <kbd>open</kbd>-Attribut hinzu, um den Dialog anzuzeigen"
|
||||
},
|
||||
{
|
||||
"type": "element_exists",
|
||||
"value": "dialog h2",
|
||||
"message": "Füge eine <h2>-Überschrift im Dialog hinzu"
|
||||
"message": "Füge eine <kbd><h2></kbd>-Überschrift im Dialog hinzu"
|
||||
},
|
||||
{
|
||||
"type": "element_exists",
|
||||
@@ -60,7 +60,7 @@
|
||||
{
|
||||
"type": "element_exists",
|
||||
"value": "dialog[open]",
|
||||
"message": "Füge ein <dialog> mit dem open-Attribut hinzu"
|
||||
"message": "Füge ein <kbd><dialog></kbd> mit dem open-Attribut hinzu"
|
||||
},
|
||||
{
|
||||
"type": "element_exists",
|
||||
|
||||
Reference in New Issue
Block a user