Giter Club home page Giter Club logo

Comments (8)

jwfuller avatar jwfuller commented on June 23, 2024

@kevincrafts and I talked about potential accessibility issues with this feature.

We need to make sure that if a block has custom visibility settings, equivalents are set for all other display viewports.

If we don't enforce this, we run the risk of people hiding content for a particular subset of users. While this isn't much of an issue for a 'touch of whimsy' image, it is a serious accessibility issue for a block of text.

from express.

kevincrafts avatar kevincrafts commented on June 23, 2024

So the ideal situation is the block gets placed in two different regions - the sidebar (for desktop) and main content (for mobile). Block gets configured to be visible in one, but invisible in the other.

But there could be other situations where someone tries to just put something in the sidebar for desktop displays and wants no content for mobile (wrong, I know)...

How do we go about enforcing that the block actually exists in both places? They may have made the proper visibility settings, but if they never placed the block in one of the regions, we still run into the issue @jwfuller mentions above.

from express.

cathysnider avatar cathysnider commented on June 23, 2024

https://www-dev.colorado.edu/feature/832

from express.

cathysnider avatar cathysnider commented on June 23, 2024

Verified: Changing the visibility mode of a text block works. As does events blocks and article blocks.

screen shot 2017-05-15 at 1 43 51 pm

from express.

cathysnider avatar cathysnider commented on June 23, 2024

One problem: A block that is visible on mobile only is a block that will be forgotten about when the site-owner is working on their site in desktop view mode. A site could end up with all kinds of hidden blocks sprinkled around, that site-builders have forgotten about because they only edit in desktop view. Suggested improvement: All blocks appear to all logged in users, with some kind of indicator or flag on the blocks that display only on a narrower view; perhaps a pink background similar to that of unpublished pages.

from express.

kevincrafts avatar kevincrafts commented on June 23, 2024

This should be using https://github.com/CuBoulder/express_responsive_visibility_bundle, not a branch of Express.

from express.

kevincrafts avatar kevincrafts commented on June 23, 2024

There are ways to exploit this to where you can provide different content to different displays.

Not sure how we go about fixing this. Open to ideas.

from express.

kevincrafts avatar kevincrafts commented on June 23, 2024

It was decided that while this module gives the opportunity to create different content on different displays, that this module will be added to the requested section and have further documentation and conversation on how to use properly.

from express.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.