Skip to content

Commit

Permalink
fix(ui): topbar 🤝 accessibility reports (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitalpopov authored Nov 14, 2024
1 parent a03ee2b commit e0b3e6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/browser/topbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const repaint = () => {
}
const createCanvas = () => {
canvas = document.createElement('canvas')
canvas.ariaHidden = 'true'
const style = canvas.style
style.position = 'fixed'
style.top = style.left = style.right = style.margin = style.padding = 0
Expand Down

0 comments on commit e0b3e6b

Please sign in to comment.