🎨 Palette: Highlight keyboard shortcuts with <kbd> tags - #283
Conversation
Wraps keyboard shortcut instructions in semantic <kbd> tags and adds physical key styling to improve clarity and discoverability. Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
💡 What: Wrapped keyboard shortcut instructions in semantic
<kbd>tags and added physical key styling.🎯 Why: Makes the instructions much clearer and more intuitive by visually distinguishing the required keys from regular text.
📸 Before/After: Before, it was just plain text "Press Space or ↑ to jump!". After, "Space" and "↑" look like actual physical keyboard keys.
♿ Accessibility: Uses the semantic
<kbd>HTML element, which is the web standard for representing user input, improving the underlying structure of the document.Note: I added custom CSS to the internal
<style>block to style the<kbd>elements. While I generally avoid adding custom CSS, this specific.njkfile doesn't use utility classes and relies entirely on an internal<style>block, so appending to it was the cleanest way to follow the existing pattern in the file.PR created automatically by Jules for task 793055037228884225 started by @EiJackGH