Skip to content

joedolson/wp-accessible-modal

Repository files navigation

WP Accessible Modal WordPress Plugin

Adds a simple accessible dialog shortcode.

This plugin is available with no support.

Basic usage is via the modal shortcode, with the following attributes & default values:

  • 'text' => __( 'Open Modal', 'wpam' ),: the text used on the button to trigger the modal.
  • 'prefix' => 'simple',: The CSS class used to prefix modal elements.
  • 'title' => __( 'Modal Content', 'wpam' ),: the text for the modal dialog name.
  • 'close' => __( 'Close', 'wpam' ),: the text for the modal close button.
  • 'control' => '',: a selector, e.g. '#my-button' or '.reports > .info-button' for an alternate control to trigger the modal content. Hides the standard button and attaches events to a control of your choice.
  • 'content' => '',: An ID attribute, e.g. 'modal-content', that contains the information to include. Overrides shortcode contents.

The content of the modal should be between the opening and closing shortcode tags: [modal]Content of modal[/modal]

Code Linting License

WP Accessible Modal for WordPress Build Environment

  • Tags: modal,dialog,wordpress
  • Requires at least: 6.0
  • Tested up to: 6.4
  • Stable tag: 1.1.0

This is the development environment for WP Accessible Modal for WordPress

Contact

Bugs or feature development contributions should be made through the GitHub repository

Authors

3rd Party Sources

Contributors

Github Contributors