Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change: モーダルをMicromodal.jsに変更する #208

Open
manabuyasuda opened this issue May 14, 2019 · 0 comments
Open

Change: モーダルをMicromodal.jsに変更する #208

manabuyasuda opened this issue May 14, 2019 · 0 comments
Labels
enhancement 機能の追加や改修。機能を実装したらクローズする。

Comments

@manabuyasuda
Copy link
Owner

Micromodal.jsはアクセシビリティに考慮したモーダルライブラリ。
https://github.com/Ghosh/micromodal

a11y-dialogと同様の機能がある。

a11y-dialogと比べた時のメリット。

  • あるid属性の兄弟要素としてモーダルを指定する必要がない
  • ドキュメントクリックでモーダルが閉じる

ファイルサイズも、Micromodal.jsが5.6KB、a11y-dialogが4.5KBと、ほとんど誤差の範囲。

@manabuyasuda manabuyasuda added the enhancement 機能の追加や改修。機能を実装したらクローズする。 label May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 機能の追加や改修。機能を実装したらクローズする。
Projects
None yet
Development

No branches or pull requests

1 participant