Developers

Technical forum about Content Type or System Plugin development.
Here you can apply for developer access.

Give focus to an element on startup - or don't?

otacke's picture
Forums: 

What's the suggested behavior for giving focus to an element on startup?

I added additional key support to Agamotto. You can now use the left key and the right key to jump from one image to another IF you clicked on the images before or jumped to them using the tab key. I don't focus the content or controls on startup since that's the way that Course Presentation and Interactive Video behave, too. However, some people mentioned that this might be rather uncomfortable and counterintuitive.

Is there a general (web accessibility) rule that applies?

Broken editor when cloning most recent h5p-mark-the-words library

serettig's picture
Forums: 

Hi,

I'm trying to modify the most recent mark-the-words library and have cloned the library itself and all dependencies into the Drupal development folder of my development machine. The library itself works fine (the +1 / -1 bubbles when pressing check work), but I have trouble with the H5P Editor for the library: If I try to edit the content, the editor isn't completely loaded and there's an exception in JavaScript (see attached screenshot).

I'm not entirely sure what the problem is, but here are my guesses: 

Pages