Links not opening in new tab
I have set up several of the links on our BMCC Open Pedagogy site to open in new tabs, but they do not. I checked the html and target="_blank" is there, so not why sure this is happening. You can see it here: https://bmccopenpedagogy.commons.gc.cuny.edu/2019/05/31/what-is-open-pedagogy and here: https://bmccopenpedagogy.commons.gc.cuny.edu/2019/05/31/how-might-you-use-open-pedagogy-in-your-course/. Also in the twitter feed on the home page: https://bmccopenpedagogy.commons.gc.cuny.edu/. The rss widget is configured to open links in a new tab.
#1 Updated by Boone Gorges over 2 years ago
- Status changed from New to Duplicate
This is likely due to your use of the WP Accessibility plugin. See https://redmine.gc.cuny.edu/issues/11002 and https://bmccopenpedagogy.commons.gc.cuny.edu/wp-admin/options-general.php?page=wp-accessibility%2Fwp-accessibility.php
#3 Updated by Gina Cherry over 2 years ago
Thanks for this information. I changed the plug-in settings and that solved the problem.
I am using the WP Accessibility plugin because it is part of the Teaching template. I was not aware of the kinds of changes it would make to my site. I see from the information in the other bug report that the accessibility issue is that users should be warned if a link will open in a new tab. Since the plugin appears to insert such a warning in the HTML, would it be possible to configure it so that it does not default to removing the target attribute from links? Removing the target attribute is likely to be confusing for other users of the Teaching template.