Feature #18842
openLaunch/placement for accessibility content
0%
Description
Thanks to Scott and all who contributed to our draft of updated info regarding accessibility on the Commons. The latest draft is here if anyone wants to look:
https://docs.google.com/document/d/1uNRR0YAFYdewr3u5RDtsaSK37MqIZ9P4Dg-DqTQQt4g/edit?usp=sharing
As Matt comments in the text, we want to split the content in half, with part going on the Help site (which Scott is already working on) and part going on a standalone page on the main site.
Boone, can I create a standalone page using my Commons admin account and just adding a new Page in the Wordpress dashboard? Is it best for me to choose a certain template, copy an existing page, etc?
Then we've discussed linking that new page from a few places:
- In the footer near Privacy and Terms of Service (can I update this, or is it better for Dev to?)
- In the blade on the About page above Project Staff that links to Privacy Policy et al (I can do this in Wordpress)
- If that blade link isn't prominent enough, we could also put a link on About in the top section near (or as part of?) the Mission Statement, or put something more notable underneath Project Staff, perhaps above Site Governance with a sentence or two.
We've also talked about setting up a News post about this, but I'm not clear yet on how/whether this will reframe/appropriate content from the draft we've been working on or add a new spin.
We'll also link the new page to the help site pages and vice versa as a final step. Please jump in with any steps or ideas I've missed!
Updated by Boone Gorges 3 months ago
Boone, can I create a standalone page using my Commons admin account and just adding a new Page in the Wordpress dashboard? Is it best for me to choose a certain template, copy an existing page, etc?
Yes, I think you can just create a new page. I don't think there's a specific template to use.
- In the footer near Privacy and Terms of Service (can I update this, or is it better for Dev to?)
It appears that these menu items are hardcoded, so I'll need to update them. https://github.com/cuny-academic-commons/cac/blob/abeb832bbafb6b8ef88c5da9aac3355ebfe3d323/wp-content/mu-plugins/assets/sitewide-footer.php#L29 Let me know once you have a URL, and a specific location among those other items.
Updated by Colin McDonald 3 months ago
Thanks, Boone. I've created a draft of the standalone page here:
https://commons.gc.cuny.edu/accessibility/
I included a final section with links to the help site as per a separate conversation with Matt and Scott. I may update that more. There is also an image I thought might be nice to break and liven up the page, but I might need some help formatting it better if we all like it.
Updated by Colin McDonald 2 days ago
Hi Matt, we discussed holding off on this until we could update the content with more technical details on the upgrades Boone has been working on. I know he's been sidetracked on this due to the release work and other things popping up. Boone, can you give us a realistic timeline on that project so we can determine if it makes sense to release the footer etc. updates as they are now vs. holding off to release later?
Updated by Boone Gorges 2 days ago
Don't hold off for me. We can add my changes later on.
Updated by Colin McDonald 2 days ago
Ok Boone, thanks. Matt and others, if this link still looks good (at least text-wise; I have to tweak the imagery) then I can pass it along to the dev team to make live when it next works for them.
Updated by Colin McDonald 2 days ago
Here's the link: https://commons.gc.cuny.edu/accessibility/
Updated by Boone Gorges 1 day ago
Thanks, all. Can you please confirm the final places where I should be adding links?
Updated by Colin McDonald about 8 hours ago
That sounds good to me, too. FYI on the image I have on that page, I can't seem to get the usual Wordpress image formatting to work. If I align it right, the text doesn't start until after the image, the centering seems off, that sort of thing. Maybe because this is a page we don't have usual image CSS being applied, or similar? Otherwise, the page content is good to go.
Updated by Boone Gorges about 1 hour ago
Thanks, all. I've added the link in the footer https://github.com/cuny-academic-commons/cac/commit/700fafff72010a3fe7e36b719f6220482abd59e7. I've also added it to the About blade, which required some minor CSS changes to look right https://github.com/cuny-academic-commons/cac/commit/858597168586226b8f172fa30014653f47d23661, https://github.com/cuny-academic-commons/cac/commit/215a6d1151e8135923d0a0614ec39402872f08ba These are deployed to the production site.
That sounds good to me, too. FYI on the image I have on that page, I can't seem to get the usual Wordpress image formatting to work. If I align it right, the text doesn't start until after the image, the centering seems off, that sort of thing. Maybe because this is a page we don't have usual image CSS being applied, or similar? Otherwise, the page content is good to go.
Strange, I guess that means that WordPress is not loading its styles for the Image block on this page? Jeremy, do you know off the top of your head how to force WP to do this?
Updated by Raymond Hoh 20 minutes ago
https://github.com/cuny-academic-commons/cac/commit/215a6d1151e8135923d0a0614ec39402872f08ba
Boone, we should be careful about using nested CSS syntax since it was only recently made available -- https://developer.mozilla.org/en-US/docs/Web/CSS/Nesting_selector#browser_compatibility -- so older browsers might not display this properly.
Strange, I guess that means that WordPress is not loading its styles for the Image block on this page? Jeremy, do you know off the top of your head how to force WP to do this?
This is my fault. I dequeued the WP block library CSS to save on a network request back in https://github.com/cuny-academic-commons/cac/commit/bef1e82902afa3092a57a7b879b37c26f6ac2245. I've updated the code to only dequeue the block library CSS file for the front page and on BuddyPress pages in https://github.com/cuny-academic-commons/cac/commit/fccfa1ac7a7a28f165477ddbd686e7f7d1d1c309 . This is live on production. I've also adjusted the main image on the Accessibility page to align center instead of right. Feel free to make further edits in the block editor.
Updated by Boone Gorges 16 minutes ago
D'oh. I'm so used to writing Sass that I didn't think about it. Fixed in https://github.com/cuny-academic-commons/cac/commit/a62fdaaf55fbfe45da652a36c854a08428756143