Skip to content

astranchet/kirby3-accessible-emoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kirby Tag - Accessible emoji

A KirbyTag to turn emojis in texts into accessible HTML, by hiding the emoji from screen readers. It should be used when the emoji is only used for a decorative purpose.

Installation

Download

Download and copy this repository to /site/plugins/accessible-emoji.

Git submodule

git submodule add https://github.com/astranchet/kirby3-accessible-emoji.git site/plugins/accessible-emoji

Composer

composer require astranchet/accessible-emoji

Usage

Make my emoji accessible! (emoji: 🎉)

It will turn this text into the following HTML:

Make my emoji accessible! <span aria-hidden="true">🎉</span>

License

MIT

About

A KirbyTag to turn emojis in texts into accessible HTML

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages