Title: Button ADA compatible
Last modified: July 22, 2021

---

# Button ADA compatible

 *  Resolved [dianahellonextstep](https://wordpress.org/support/users/dianahellonextstep/)
 * (@dianahellonextstep)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/button-ada-compatible/)
 * Hi,
 * We are implementing the Print-O-Matic plugin to our new website. We recently 
   got an ADA audit done by a company, and in regards of this print button, they
   stated the following:
    “the print button that is implemented as a clickable <
   div> which needs to be adjusted to a semantic button (<button>). Please also 
   add an aria-label=”Print Page””
 * I’ve checked the Setting of the plugin (we’re using the big icon as the button)
   but I can’t find a place to edit the html.
    Is there any way for me to do this?
   Maybe through a hook? Or should I be updating the plugin’s code?
 * Thanks!
    Diana.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/button-ada-compatible/#post-14688207)
 * Excellent topic!
    We will add both the aria-label along with a filter to both
   the current version and the 2.0 release candidate. If you are setting up something
   new, we highly recommend you check out the RC: [https://github.com/baden03/print-o-matic/tree/2.0-redo](https://github.com/baden03/print-o-matic/tree/2.0-redo)
 * Stay tuned. We should have an update for you within the hour.
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/button-ada-compatible/#post-14688217)
 * OK, there is even an easier solution:
    [https://spacedonkey.de/2400/print-o-matic-external-buttons/](https://spacedonkey.de/2400/print-o-matic-external-buttons/)
 * Simply create the print button exactly how you like:
 *     ```
       <button id="my_print_button" class="printomatic" data-print_target="#print_me_please" aria-label="Print Page">Print Trigger</button>
       ```
   
 *  Thread Starter [dianahellonextstep](https://wordpress.org/support/users/dianahellonextstep/)
 * (@dianahellonextstep)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/button-ada-compatible/#post-14688618)
 * Thanks so much [@twinpictures](https://wordpress.org/support/users/twinpictures/)!!
   I’m almost there, just looking for the attribute for the “do_not_print” – do 
   you know which one might be? Tried data-do_not_print but no luck.
    Thanks!
 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/button-ada-compatible/#post-14698564)
 * OK, the do_not_print can be set globally in the options page, or on a per-trigger
   passes using the hidden print trigger as explained in the demo:
 * > The final thing we need to do is include a hidden print trigger using a print-
   > me shortcode with the same id as our external trigger and the new external 
   > printstyle attribute. This shortcode must be placed someplace on the same page,
   > and will load in all the required scripts and settings to make the print trigger
   > work correctly.
 * So on the same page the button is placed:
    `<button id="my_print_button" class
   ="printomatic" data-print_target="#print_me_please" aria-label="Print Page">Print
   Trigger</button>`
 * place the hidden print trigger with the do_not_print defined:
    `[print-me id="
   my_print_button" do_not_print=".noprint" printstyle="external"/]`
 * If you still have issues, ping back and we’ll see about adding a data-element
   to ease the pain 🙂
 *  Thread Starter [dianahellonextstep](https://wordpress.org/support/users/dianahellonextstep/)
 * (@dianahellonextstep)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/button-ada-compatible/#post-14719609)
 * not sure why the Setting Do not Print wasn’t working for me, but I found a workaround
   targeting a div that contained all I wanted.
    Closing the ticket, thanks so much
   for your help [@twinpictures](https://wordpress.org/support/users/twinpictures/)!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Button ADA compatible’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/print-o-matic_b2b2b2.svg)
 * [Print-O-Matic](https://wordpress.org/plugins/print-o-matic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/print-o-matic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/print-o-matic/)
 * [Active Topics](https://wordpress.org/support/plugin/print-o-matic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/print-o-matic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/print-o-matic/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [dianahellonextstep](https://wordpress.org/support/users/dianahellonextstep/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/button-ada-compatible/#post-14719609)
 * Status: resolved