Skip to content
WCAG compliant balloon-style tooltip helper for Rails
Ruby CSS
Latest commit 2e45540 Mar 24, 2016 @dvandersluis Bump to 1.0.8
Failed to load latest commit information.
app/assets Change icon class to tooltip-icon Dec 13, 2013
lib Bump to 1.0.8 Mar 24, 2016
.gitignore Update gitignore Oct 3, 2013
Gemfile Initial import Oct 2, 2013
LICENSE.txt Initial import Oct 2, 2013
README.md Credit where credit is due! Oct 3, 2013
Rakefile Initial import Oct 2, 2013
accessible_tooltip.gemspec Added license Oct 4, 2013

README.md

AccessibleTooltip

Rails helper for creating a balloon style tooltip that is WCAG compliant.

Based on the excellent CSS tooltips by Six Revisions.

Installation

Add this line to your application's Gemfile:

gem 'accessible_tooltip'

And then execute:

$ bundle

Or install it yourself as:

$ gem install accessible_tooltip

Usage

<%= accessible_tooltip(:help, label: "Help Me", title: "Dogs & Foxes") do>
  The quick brown fox jumped over the lazy dog.
<% end %>

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.