Script for removing empty <p> accessibility tags for compliance
I am converting a large document from Word to PDF and am required to ensure it meetings 508 compliance accessibility requirements. As seen in comments of this post, there are a number of PDF Maker programming issues whereby a number of empty <p> tags are created in tables that need to be manually removed. This is a painstaking process, and I am wondering if anyone has insight into if there would be a way to automatically remove these empty tags using JavaScrip or through another process. I'm only beggining my JS journey and do not yet have the skillset to make this happen, so any advice or insight would be useful! I did find that others have created a script for removing blank pages, but cannot find a way to do this with empty <p> accessibility tags.
Any insight would be useful!
