Opened 5 years ago
Closed 5 years ago
#47904 closed enhancement (maybelater)
Add ".chif" (C-Hear Intelligent File) to supported file types
Reported by: | kennleuzinger | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Media | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
Hello, I have a question. What is the administrative and vetting process to add a totally new file format to the media section of WordPress websites?
This type of file format would make websites more digitally accessible to people with disabilities – especially people with visual impairments.
We looked into different technologies and wanted to use WordPress because of its ubiquity and its commitment to make the internet a better place for people with disabilities. Please inform me of this process as soon as you can. Thank you.
Change History (11)
#1
@
5 years ago
- Component changed from General to Media
- Description modified (diff)
- Focuses accessibility added
#3
@
5 years ago
Hello,
We would like to add a ".chif" C-Hear Intelligent FIle.
This is our company...
http://c-hear.com/
Here is a video we did a while ago.
https://vimeo.com/320444474
This video was when it was going to be a plugin. Now I think we can load it directly.
Thanks,
kenn
#4
@
5 years ago
- Keywords reporter-feedback removed
- Summary changed from New File Type to Add ".chif" (C-Hear Intelligent File) to supported file types
#5
@
5 years ago
Thank you so much for the welcome!
Here is an example of the ".chif" file in regular HTML.
It consists of a picture, an embedded sound (you can either upload a sound file or record one), text (you can either upload a text file or type something), and meta data - which you will have to type.
Here is the link to our builder so you can try it out (build and download a couple).
https://app.c-hear.com/
Thanks,
kenn
This ticket was mentioned in Slack in #accessibility by afercia. View the logs.
5 years ago
#7
follow-up:
↓ 9
@
5 years ago
- Focuses accessibility removed
Discussed during today's accessibility bug scrub and agreed this issue doesn't seem related to the accessibility of WP admin or the content it produces. Removing the accessibility focus.
Re: new mime types, to our understanding, new mime types are added only when support is large and the format is, in a way, “standardized”. In all other cases it’s considered plugin territory. Other, more experienced, contributors may provide better context.
#8
follow-up:
↓ 10
@
5 years ago
- Keywords close added
Hi,
Yes, I think it's clearly "plugin territory".
For what it worth: here is a PHP snippet you could use for your plugin or in the functions.php file of your (child) theme to allow this mime type in WordPress:
function wp_47904_mime_type( $mime_types ) {
$mime_types['chif'] = 'application/octet-stream';
return $mime_types;
}
add_filter( 'upload_mimes', 'wp_47904_mime_type', 1, 1 );
#9
in reply to:
↑ 7
@
5 years ago
Replying to afercia:
Discussed during today's accessibility bug scrub and agreed this issue doesn't seem related to the accessibility of WP admin or the content it produces. Removing the accessibility focus.
Re: new mime types, to our understanding, new mime types are added only when support is large and the format is, in a way, “standardized”. In all other cases it’s considered plugin territory. Other, more experienced, contributors may provide better context.
One of the main reasons we developed this file format was accessibility, but I understand.
#10
in reply to:
↑ 8
@
5 years ago
Thank you!
Replying to audrasjb:
Hi,
Yes, I think it's clearly "plugin territory".
For what it worth: here is a PHP snippet you could use for your plugin or in the functions.php file of your (child) theme to allow this mime type in WordPress:
function wp_47904_mime_type( $mime_types ) { $mime_types['chif'] = 'application/octet-stream'; return $mime_types; } add_filter( 'upload_mimes', 'wp_47904_mime_type', 1, 1 );
Hi @kennleuzinger, welcome to WordPress Trac! Thanks for the ticket.
Which file format would you like to add?