Code Monkey home page Code Monkey logo

remark-a11y-emoji's Issues

How does this plugin improve accessibility ?

Hello,

I would like to know how does that plugin is adding anything to the UX of users using assistive technologies?

I always believed that aria-label should be used on icons (or icon-like images as small SVG). But emojis are not just plain images and should already have a description based on the Unicode description and CLDR name (which are in english but should be translated to user language I guess).

I'm don't understand so why this plugin is necessary.

I'm pretty sure, there is a good explanation of why this plugin is necessary and maybe this explanation should be in the README.md of the project for people like me who don't have a good enough accessibility background.

Thank you!

remark@next (13)

Hi!

remark is switching to a new parser internally (micromark, see remarkjs/remark#536 for more info).
From a quick glance at the code, it seems this plugin should be fine. However, it would be good to check that in the future (there is 13.0.0-alpha.0 published now, and one or two more will come before the release)

`aria-label` for new emojis not displayed due to outdated dependency

Hi maintainer,

When new emojis such as ๐Ÿซก or ๐Ÿซจ are used, it seems that the output would not contain the proper aria-label for them. Investigating further, it seems to be because the dependent package gemoji (with version specifier "^6.1.0") is outdated. The latest version as of this writing is 8.1.0.

Would it be possible for you to update the version of such package? Alternatively, if possible at all, would it be possible to make gemoji a peer dependency.

Thanks for your work!

Text with inline emoji is wrapped in <undefined>

When I use this plugin on a paragraph that contains emoji, the output is wrapped in <undefined> tags.

Example:

A line of text with ๐Ÿ˜€ inline ๐ŸŽ‰ emoji

Rendered HTML:

<p>
  <undefined>
    A line of text with <span role="img" aria-label="grinning face">๐Ÿ˜€</span> inline <span role="img" aria-label="party popper">๐ŸŽ‰</span> emoji
  </undefined>
</p>

However, emoji on a line of their own are not wrapped in those undefined tags:

๐Ÿ‘
<p>
  <span role="img" aria-label="thumbs up">๐Ÿ‘</span>
</p>

Context:

  • Next.js 9.4.4
  • next-mdx-enhanced 3.0.0
  • @fec/remark-a11y-emoji 1.0.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.