Code Monkey home page Code Monkey logo

adapt-contrib-hotgraphic's People

Contributors

andrewhosgood avatar brian-learningpool avatar cahirodoherty-learningpool avatar canstudios-nicolaw avatar chris-steele avatar chucklorenz avatar dancgray avatar danielghost avatar darylhedley avatar davetaz avatar dependabot[bot] avatar guywillis avatar himanshu1618 avatar joe-allen-89 avatar kirsty-hames avatar lc-thomasberger avatar lemmyadams avatar moloko avatar nayankhedkar avatar olaoluwam avatar oliverfoster avatar ryan-lynch avatar semantic-release-bot avatar swashbuck avatar taylortom avatar tomgreenfield avatar zenduo avatar zoocreative avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adapt-contrib-hotgraphic's Issues

Accessibility: pins need alt-text

When running JAWS: If I tab to a hot pin there is no indication I am on a pin or that I should open it.

Each pin should have its own alt text to instruct users.

Use graphic as pins not working

I created a new course from the master branch and change the "_useGraphicsAsPins" to true, please find attached image to see result:

hotgraphic

Presentation components need to be reset on revisit

This should be based upon _isResetOnRevisit

  • If set to true - presentation components should reset themselves
  • State and model attributes should be reset
  • To test this out please change this in the adaptModel.js
  • Should be done on the develop branch

Various UI enhancements to hotgraphic

I'm proposing the following enhancements in order to facilitate a more flexible hotgraphic:

  • Support for hiding pagination. This has been requested by several end users, as currently once the first pin is activate it's possible to page completely through the remaining items.
  • Changes to allow more specific styling of pins and the currently selected item. This is just a matter of more specific classes on the markup.

Accessibility tabbing issues

tabbing issues selecting hot graphic items - no indication that item is selected.

pop-up tabbing focus issue - tabbing focus should stay on popup until exited instead moves onto next item leaving pop-up unable to close.

Add support for 'setCompletionOn' attribute

Similar to the media element, this should take 'inview' as a possible option to allow completion when the hotgraphic is used. Raised because hotgraphic, e.g. for infographic type images, shrinking to a narrative on mobile can cause problems with completion.

Doesn't clear visited on reset

suggest adding:

preRender: function () {
this.listenTo(Adapt, 'device:changed', this.reRender, this);
_.each(this.model.get('_items'), function(item) {
item._isVisited = false;
});
},

Hot graphic completion when changing orientation on mobile device

Scenario: There is hot graphic component with 3 items to view.

When using hot graphic component in landscape orientation, and switching to portrait orientation to complete some of the items. Results in items that were viewed in portrait not being marked as complete when switching back to landscape orientation.

Steps to reproduce - use landscape orientation:

  1. Click on the first item - close pop up - now item will be marked as complete
  2. Switch orientation (hot graphic component is changed to slider)
  3. Now click on '+' for other two items
  4. Go back to landscape orientation
  5. The other two items you just viewed in portrait orientation are not marked as complete.

Adapt Accessibility tests: co-05 hot graphic component - pop-up issues

From @shauncg on June 20, 2014 12:22

When the first hotspot in the component is selected, JAWS automatically begins reading the text for the pop-up (which is good). However, when it reaches the start of the second paragraph (specifically, at the point where it should say "in addition") it says what sounds like "In add-di-di dialogue dun- button" and halts.

JAWS reads this same text with the same error when the second hotspot is opened, rather than reading the text associated with the second hotspot.

Copied from original issue: adaptlearning/adapt_framework#409

hide pins

as a feature request: could someone add the possibility to add a hotspot, without placing a pin on top of it.

this way I could use a maingraphic that already has areas on it and instruct the learners to click the areas, in stead of clicking the pins.

field for mobile and desktop/tablet instruction in the json

I've recently put in a request for the narrative to have a field in the json for mobile instruction and one for desktop/tablet (adaptlearning/adapt-contrib-narrative#100). Would it be possible to do a similar thing with the hotgraphic, seens as these two components are so closely linked? I know there is a mobile body field but personally, I don't tend to use that as that implies body text would need to change as well.

I've typically found that it's only ever the instruction that needs to change (because the way the component works changes based on which device you're looking at it on), and the initial text of the component wouldn't need to change as it's just setting the scene for the contents of the component (nothing specific to the device it's being viewed on) .

iPad iOS6 - operational issue

there are two display texts set up for this hot graphic - the user can swipe between them as expected - however, with the first one (eg 1/2) if the user presses anywhere on the pop up, it switches to 2/2 - however, this doesnt happen on 2/2 - it only changes to 1/2 if you swipe

Popup navigation arrows

The left arrow shouldn't display when on the first item and similarly the right arrow should be hidden on the last item.

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.