Bug #11512
closedLinks not opening in new tab
0%
Description
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.
Related issues
Updated by Boone Gorges over 5 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
Updated by Boone Gorges over 5 years ago
- Is duplicate of Support #11002: open link in a new tab not working added
Updated by Gina Cherry over 5 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.
Updated by Boone Gorges over 5 years ago
- Related to Feature #11517: wp-accessibility plugin should not strip 'target="_blank"' by default added
Updated by Boone Gorges over 5 years ago
I've opened https://redmine.gc.cuny.edu/issues/11517 to consider the suggestion.