-
Notifications
You must be signed in to change notification settings - Fork 0
Testing: initial version #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Works as expected, with exception of core issue with the carousel image viewer. |
@allanaaa @aviannamiller Here are some sample XML files for testing the OHMS Embed plugin. Draft documentation is here: https://github.com/omeka/classic-enduser/blob/OHMSEmbed/docs/Plugins/OhmsEmbed.md |
The first sample file worked great - player loaded with no problems, metadata appears as expected, etc. We will have issues with thumbnails and the lightbox gallery, as you've already mentioned. I added "application/xml" to my allowed list too, as John said, though you don't have that in the docs. Is it needed, or will "text/xml" be all that's required? |
Both of these samples have timestamps but not full transcripts. And I forget what the third column is - translation? Do you have a file with all three so we can see those laid out? |
On the xmls mimetypes it's hard to say for sure... it depends on what the server detects the file as. In practice I think we've seen text/ mostly but both are valid XML mimetypes. |
Thanks for the sample files. I am having the same success uploading/adding/embedding, although I would also be curious to see how transcripts are treated, as @allanaaa mentioned. When using a file with text block, I am seeing index points being clipped when page zoom is 150%+ or if the window is shrunk horizontally: |
Okay, I have one with working video, timestamps, and transcripts: The timestamps will jump the video to the correct point but the transcript does not move. Am I mistaken, or should that be working also? |
Clicking timestamps on the index side should move the transcript... I'll see if I can see what's up with that. |
Oh sorry I misremembered what it actually does. Clicking the timestamps only moves the video. Clicking the bookmark moves the transcript. |
My mistake - I was absolutely clicking the timestamp and not the bookmark icon. Okay, file shortcode looks good on a page: https://dev.omeka.org/amayer/amayer-c/omeka/page-test My only concern is that with the file shortcode there's no link to the item page. |
The viewer controls should be optimized for screen reader use. Some observations based on further testing:
|
OK, pull again. Latest change removes redundant aria-labels, adds aria-pressed status to the toggle, adds a name to the info dialog. Not sure I can do anything about the android focus stuff. |
I've dropped a few file shortcodes into this page: https://dev.omeka.org/amayer/amayer-c/omeka/page-test Where there is only one column in use by the player, can we widen that column to take up more of the available space? Or is that an inbuilt limitation? |
@allanaaa the column could be forced wider; my philosophy was that extra width doesn't really make it any easier to use |
Thank you, the changes look great overall.
|
|
Updating button labels to "Enter fullscreen" and "Show index" sounds good. The latter should certainly help level out what the button is communicating in the toggle action.
I would think the accessible name should match the titles provided in the metadata. Generic text could be an issue as frames should not really have the same accessible name if they contain distinct resources, which would hinder accessibility in the case of multiple embeds on one page. To avoid any screen reader redundancy with the displayed title vs. accessible name in this case, is there an
It is important to ensure the title pulling from the metadata and displaying on the viewer is included in page semantics (Accessibility Developer Guide provides an example of headings implemented in relation to external content in iframes), but I do understand how that becomes a bit complicated here due to the different possible implementations of the player portion. To further understand your point here about the shared/separate piece, is the player component linked to the main metadata, which is the portion that contains that semantic tagging? Or, is the metadata unique to the plugin? Based on discussions with @kimisgold, headings across both Classic and S themes likely need to be shored up a bit to ensure site titles are always |
OK, I have the label changes for those buttons done, not yet merged up to this repo though. The basic situation with metadata is slightly split in how this plugin works. The viewer itself, the inside of the iframe, can only work with what's in the OHMS XML file. That's where the displayed title which is currently an h1 comes from, and the stuff in the "Info" panel. The outside part, which includes the iframe tag itself and therefore whatever title/label we want to add to it, that would come from the metadata stored in Omeka. We pull out some of the XML metadata when an OHMS file gets added (including the title), but users can go and edit those fields after we do that. For the iframe accessible name, I don't think we can really do labelledby here as we don't generally/reliably have another string on the page we can point to. So I think we'd have to be thinking about doing it as a |
Some of these issues will also apply to the S module, right? We didn't do any kind of accessibility work on that. |
The plus side of the viewer part being separate is that all these fixes to the viewer will just come in to the S version with a merge. And it's mostly been viewer fixes. |
@zerocrates, thank you for the explanation on where that h1 is coming from. I am a bit unsure of how to proceed here as there should not be a duplicate h1 on a page, and it is disrupting page semantics. A heading is, however, important to include in relation to the iframe. As WebTech notes in their discussion of embedded iframes, "not all AT can navigate into iframes," and headings do play an important role in navigation for screen reader users. WebTech recommends a heading be implemented before the embed. As part of this plugin, is there a way to lose the semantic tagging within the iframe and instead implement a heading that appears on the page before the constraints of the iframe, or would that more so fall under the realm of user customization and thus not really work here? I'm happy with the accessible name being implemented as a |
Latest push has:
I think trying to make a heading that's outside the frame isn't going to really work here for various reasons, customization being one of them. |
You'll have to make sure .xml extension and application/xml and/or text/xml types are allowed.
There are two user-controllable options: the embed height and whether to extract metadata.
When metadata extraction is enabled, items that have OHMS XML files added to them should get changed to the Oral History type (unless another type is already selected), and should have data extracted to the following elements, if data for them is present in the XML:
accession
in the XML)If any of those item type metadata elements are missing, it should be handled gracefully, just skipping them and not causing an error.
The text was updated successfully, but these errors were encountered: