Select to view content in your preferred language

Does anyone know how to create an image moving in arcgis Hub?

552
2
12-12-2019 04:35 PM
DarioPeña_Mena
Emerging Contributor

Im trying to use marquee, but it doesnt work. Im trying to make a small news site and I want images  moving, Does anyone know how to do it? or any examples?. Thank U

Tags (1)
0 Kudos
2 Replies
KlaraSchmitt
Esri Regular Contributor

Hi Dario,

I would personally would not recommend automatically moving images as it'd affect your ability to pass this accessibility guideline: Understanding Success Criterion 2.2.2: Pause, Stop, Hide. One of the reasons you don't see any cards that support autoplaying content in Hub is that to a visitor, it can be quite jarring to land on a page and not have any immediate means via keyboard to disable moving content, and a number of our customers have laws pertaining to accessibility compliance in their countries.

You could try something like https://css-tricks.com/can-get-pretty-far-making-slider-just-html-css/. It does not autoplay content, but allows you to have something a little closer to a slider. It's passably navigable in VoiceOver, NVDA, and by keyboard as a sighted individual. You'd want to make sure you have alt text on your images or actual text on your slides though.

If you really want to have autoplaying content, you could build a news ticker and host it somewhere else outside of Hub and then iframe it onto your Hub site.

0 Kudos
NFlourish
Frequent Contributor
0 Kudos