Accessibility Issue with the plugin
-
I am trying to integrate this plugin within the New York University’s WordPress multisite environment. For that this plugin needs to meet the WCAG 2.0 AA standards of Web Accessibility. This plugin meets all the core requirement but just need a few aria-labels on the “Add Importer” page. The following buttons need to have an aria-label to make this plugin compliant with WCAG 2.0 AA.
Original Button HTML
1. <select name=”jc-importer_template” id=”jc-importer_template”><option value=””>Choose a template</option><option value=”user”>User</option><option value=”post”>Post</option><option value=”page”>Page</option><option value=”taxonomy”>Taxonomy</option><option value=”custom-post-type”>Custom Post Type</option></select>?
2. <input type=”radio” name=”jc-importer_import_type” value=”upload” checked=”checked”>?
3. <input type=”radio” name=”jc-importer_import_type” value=”remote”>?
4. <input type=”radio” name=”jc-importer_import_type” value=”local”>?
5. <input type=”radio” name=”jc-importer_import_type” value=”post”>?
6. <input type=”file” name=”jc-importer_import_file” id=”jc-importer_import_file”>Suggested Correct HTML
1. <select aria-label=”import template button” name=”jc-importer_template” id=”jc-importer_template”><option value=””>Choose a template</option><option value=”user”>User</option><option value=”post”>Post</option><option value=”page”>Page</option><option value=”taxonomy”>Taxonomy</option><option value=”custom-post-type”>Custom Post Type</option></select>?
2. <input aria-label=”upload file button” type=”radio” name=”jc-importer_import_type” value=”upload” checked=”checked”>?
3. <input aria-label=”Remote file radio button” type=”radio” name=”jc-importer_import_type” value=”remote”>?
4. <input aria-label=”Local File Radio Button” type=”radio” name=”jc-importer_import_type” value=”local”>?
5. <input aria-label=”Push Request Radio button” type=”radio” name=”jc-importer_import_type” value=”post”>?
6. <input aria-label=”import file button” type=”file” name=”jc-importer_import_file” id=”jc-importer_import_file”>It would be great if this correction could be made. So that the plugin could be integrated with NYU’s WordPress multisite.
- The topic ‘Accessibility Issue with the plugin’ is closed to new replies.