Skip to content

Commit

Permalink
✨ Hide sparkle emoji to screen readers.
Browse files Browse the repository at this point in the history
  • Loading branch information
hayleigh-dot-dev committed Oct 21, 2023
1 parent 174ebdc commit e470457
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/packages/web/page.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,14 @@ fn search_aware_package_list(
"There are",
int.to_string(total_package_count),
pluralize_package(total_package_count),
"available",
"available",
]
|> string.join(" "),
),
html.span(
[attribute("aria-hidden", "true")],
[element.text(" ✨")],
),
],
),
package_list(packages),
Expand Down

0 comments on commit e470457

Please sign in to comment.