Questions tagged [accessibility]
Accessibility is the design of products, devices, services, or environments for people with disabilities.
37
questions
0
votes
0
answers
55
views
Editing alt text in media library
I added a column to the media library to display the alt text using this information, however I'd also like to edit the alt-text entry of each image without having to go into and edit each individual ...
0
votes
1
answer
159
views
Apply walker_nav_menu_start_el but only to one menu
I'm building an accessible dropdown menu and successfully created a button to toggle the menu for screen readers that doesn't interfere with a top-level link. I targeted the class menu-item-has-...
0
votes
0
answers
54
views
Gutenberg: Issue trying to commit locally
I am working on a small accessibility bug for Gutenberg, but cannot commit because of the following errors that seem to do with linting. I have tried deleting node-modules, package-lock, and re-...
0
votes
1
answer
167
views
How do I create a filter to hide the One Click Accessibility plugin button in WordPress?
I would like to add a filter to hide the One Click Accessibility plugin button, but I want to hide it on several specific pages and WooCommerce pages.
I just want to show it on a custom post type ...
0
votes
2
answers
1k
views
How to Restrict Access to all wp-admin pages for subscriber users
Here is summary of the problem and required solution:
Access to mywebsite.com/wp-admin is blocked for subscribers [which is good]
However, if i enter the link manually on the browser as follows:
...
1
vote
0
answers
32
views
How to add screen reader text to links inserted in the block editor?
Background
When user adds a link to a paragraph block (or some other richtext block where links can be added) and sets the Open in new window flag, the block editor produces the following markup.
<...
0
votes
1
answer
25
views
Benefits to using semantic HTML in post content? [closed]
I've been reading up on semantic HTML as a means of improving accessibility and SEO, but I'm still learning about the implications of semantic HTML.
One question I have is whether there's any point to ...
0
votes
1
answer
555
views
How do I access the contents of Wordpress Classic editor in admin area with JavaScript?
I am working on a small Wordpress plugin which uses JavaScript to add html tags with a css class to the visual text view in the Wordpress editor. I use the Classic Editor.
According to Chrome ...
0
votes
3
answers
460
views
get_search_form() and aria_label
How do you pass the aria_label parameter to get_search_form()?
I can't seem to pass the 'aria_label' parameter to get_search_form() in the correct way and can't find any examples. Lots with the first ...
0
votes
1
answer
15
views
Enable accessibility mode in widget as default
Guys how can I Enable widget accessibility mode as a default for all users, I thought about update_user_meta in wp_user-settings but I was not successful.
Greetings
0
votes
0
answers
49
views
URL Restrictions? Need only people who are logged in AND have a specific role (or roles) to access all pages for a site
I have a site that needs to only allow people who are logged in and have at least one of 3 possible roles to have access to the pages of the site. I'm not new to programming, but am new to both php ...
0
votes
1
answer
62
views
How to make WP page accessile only to specific user roles
I am creating a website that consists of a "Home Page" (public) that has a login link to the WP login page, then, there will be different pages that are only accessible to specific logged ...
1
vote
3
answers
1k
views
Add HTML Attributes To Anchor Tags In `wp_list_categories()` Function
I'm using the wp_list_categories() function which generates an unordered list with list items and anchor tags for the categories. Is there any way to add HTML attributes to the <a> tags which ...
0
votes
1
answer
22
views
On the online version of my blog posts disappear
I lose posts after a few weeks. So as of today there is a gap form April 14 to March 17. Do you know what happens. how can i rectify it? And then there is a gap
1
vote
0
answers
98
views
SlickNav - Google Lighthouse Accessibility issue for collapsed menu button
I use Slicknav for my mobile menu, and Lighthouse flags up the following:
Links do not have a discernible name - a.slicknav_btn.slicknav_collapsed
I assume it means this element
<a href="#" aria-...
3
votes
2
answers
616
views
Block Editor: add an aria-label to an option inside a SelectControl
I'm building a block that has, among other things, a FontAwesome icon. I'm currently letting users choose which icon by using a WP <SelectControl>.
For individual <option>s, there is a ...
3
votes
0
answers
1k
views
Make alt text required when setting a featured image
In the EU it will shortly be a requirement for public sector websites to have alt text for uploaded images. My organisation's users are rubbish at adding alt text, however, and I'm trying to find a ...
0
votes
1
answer
647
views
All Images not calling alt text
I am having trouble with the alt text on my wordpress.com website. I am using a theme I coded myself. From what I recall, if I added alt text to an image in the Media Library it would insert into the ...
-1
votes
1
answer
179
views
one time visit to the page
I want to set up a page with PayPal subscription gate away to my members area. It's a simple page with PayPal button which offer discounted subscription price for the chosen customers only.
...
0
votes
0
answers
333
views
WPforms plugin modification for accessibility
I'm looking for a way to add aria-labelledby attributes to my wpforms plugin form. I emailed their support and they said it was not supported. I've got to believe there is a way to modify the plugin ...
0
votes
1
answer
54
views
What are some of your favorite methods for creating an accessible menu?
I have a series of tricks that I use to add things like aria tags, keyboard navigation, screen reader text, and other features. I would love to see some of yours.
Assume this is a multi-tiered menu ...
0
votes
1
answer
24
views
RSS icons have the same Alt tag. Lighthouse is failing these elements. How do I display different alt tags for each icon?
I am making my websites accessible by mostly using Lighthouse in Chrome Devtools. I have fixed everything but this one issue. Lighthouse is failing these elements because the alt tags need discernible ...
0
votes
0
answers
237
views
sometimes on saving a post as draft, it says Access Denied You don't have permission to access "mywebsite.com/wp-admin/post.php"
It only occurs sometimes, when i try to save a post as a draft, with a content having anchor target="_blank", it throws an error on saving Access Denied
I set up it locally and its working fine.
I ...
0
votes
1
answer
30
views
Resources won't load if not logged to cPanel after migration, cause?
I migrated my wordpress site to my live site. As mentioned in the title my site will look bad if I visit it and I am ot logged in cPanel. Guess it means resources are not accessable to all users. How ...
3
votes
1
answer
863
views
Why is there a class="screen-reader-text" on my search button?
i was going through a search and found this button in search form.
<button type="submit" class="search-submit">
<span class="genericon-search"></span>
<span class=...
0
votes
1
answer
71
views
Can i legally remove a credit from a free plugin on wordpress.org? [closed]
I am using this accessibility plugin: https://wordpress.org/plugins/accessible-poetry/
I didn't like to logo in the bottom of it that adds a link to the plugin site so I removed it via css.
But I ...
5
votes
2
answers
5k
views
Add custom attribute to menu item link using Filter
In order to increase my theme's accessibility, I want to add the aria-current="page" attribute to the menu item that has the class .current_page_item.
As of right now, I am doing this via jQuery ...
0
votes
1
answer
46
views
What to do to have access to WordPress functions
I'm developing my own theme and I currently work on a script that validates form data sends an email and puts the details into a second databse.
In the Codex I saw how to connect to a second database,...
1
vote
2
answers
2k
views
How to change the wordpress navigation bar UL to OL in Twenty_Twelve similer theme
I'am trying to make a wordpress website accessibility compliant but I have come across a problem with menu bar. It uses a modified them based on Twenty_Twelve.
I need to change the "ul" tag to "ol" ...
0
votes
1
answer
33
views
How to create an optionally available stylesheet for visually impared users?
I have a WP website that I would like to make easily accessible for visually impaired users. I don't want to modify the default stylesheet, nor I would like to use any plugins, so I am looking for a ...
2
votes
1
answer
61
views
Is it wrong to put header tags inside WordPress help tabs? [closed]
We're working on improving accessibility in our plugin. One of the rules for accessibility is apparently that you should have an h1 tag before any h2 or h3 tags etc. Normally that makes sense, except ...
0
votes
1
answer
2k
views
Remove all link title attributes
After reading this and this, I want to remove the title attribute from all links of my blog, as that is good from accessibility point of view. How this can be achieved?
UPDATE
I found a solution how ...
0
votes
2
answers
728
views
Add credit to get_custom_header in alt
Been hunting for a while and I can't figure out how to use get_custom_header to get the alt text associated with the media file, so that I can add photo credits to the headers on my site. Am I missing ...
3
votes
3
answers
569
views
Stylesheet switching and caching
I'm implementing a site that allows users to switch stylesheets (to show a high contrast version for people with vision impairments). The switcher essentially just changes the <link>ref to ...
2
votes
1
answer
369
views
Accesibility problems with dropdown menus in twentyten theme or others
Some time ago I discovered that dropdown menus that do have clickable links on parent nodes are confusing for the users.
Often they are not seeing that they can click on the parent, they just assume ...
3
votes
1
answer
2k
views
How to make WordPress blog accessible for people with disabilities?
How do you make your wordpress blog accessible for people with disabilities ?
are there any special plugins you are using ?
are there any friendly themes you recommend ?
is there an auto-detect ...
1
vote
3
answers
11k
views
How can I make a site viewable in multiple languages?
I am aware of the question What are options are there to implement a multi language site, but the answers there are focused on multi-language support on the backend as well as the frontend.
I am only ...