Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/panphora/polite-email-popup

Polite Email Popup 😇📫
https://github.com/panphora/polite-email-popup

email email-sign exit intent intent-modal polite popup

Last synced: 2 months ago
JSON representation

Polite Email Popup 😇📫

Awesome Lists containing this project

README

        

# Polite Email Popup

A customizeable and accessible email sign up form that makes sure visitors are engaged with your content *before* asking for their email addresses.

### Why?

You want to **grow your audience as much as possible, but also be polite about it**.

This plugin was made for small businesses and indie makers who want a simple all-in-one solution for collecting email addresses.

### Features

* When this plugin detects a user is engaged with your content, it will trigger:
* An email sign up form along the bottom of your page
* An exit-intent modal (which is disabled on mobile)

* The modal's accessibility features
* The `aria-hidden` attribute is toggled on modal and page content
* Focus is trapped within the modal while it's open
* The focus position is put back where it was taken from before toggling the modal
* The first focusable element within the modal (the email input) is focused when it opens

### Politeness Rules

These rules determine when the modal and bottom bar sign up forms trigger.

[Document with the rules for when it will trigger](https://docs.google.com/document/d/1zBnJ2lj0PW0lkdfggaJytKFnDkggymcDGi4iG09FqPc/edit?usp=sharing)