Граф коммитов

19 Коммитов

Автор SHA1 Сообщение Дата
Cătălin Mariș 28af5f6f8a
Make minor consistency improvements 2017-06-02 13:10:06 +03:00
Cătălin Mariș 9ad422a08d
Add `newline` at the end of text file
Under UNIX-like OSes, a text file consists of a series of lines, each
of which ends with a `newline` character (`\n`). A file that is not
empty and does not end with a `newline` is therefore considered not to
be a text file.

Because of this, utilities that are supposed to operate on text files
may not cope well with files that don't end with a `newline` (e.g.: they
might ignore the text after the last `newline`).

Adding the `newline` character at the end of the file ensures that users
won't encounter any odd behavior when using it.

Reference/Source: http://unix.stackexchange.com/a/18789.
2017-04-10 10:21:43 +03:00
molant 5fad7d543e Adding skip option for old demos so they are not processed on the server 2017-02-13 16:03:53 -08:00
David Storey 2c69b93259 Merge pull request #340 from ststimac/speechsynth-a11y
speech synth a11y edits
2017-01-17 10:12:27 -08:00
ststimac a38e2834fc fix a bunch of random conflicts 2017-01-10 15:02:45 -08:00
ststimac d1de8e63bd resolve 2017-01-10 14:46:56 -08:00
Cătălin Mariș 6bcaa86524
Add `button` to mute audio in `Penguin Mark` demo
Fix MicrosoftEdge/Demos#210
2017-01-10 14:25:51 -08:00
Cătălin Mariș d925bdae2b
Use `lang="en-us"` consistently
Fix MicrosoftEdge/Demos#337
2017-01-04 13:14:28 +02:00
Cătălin Mariș 14acd4d22a
Losslessly optimize image 2017-01-03 17:33:27 +02:00
Cătălin Mariș 89c54dc59e
Don't add aria-hidden attribute in PenguinMark demo
Fix https://github.com/MicrosoftEdge/Demos/pull/270#discussion_r94125334
2016-12-29 13:30:50 +02:00
Melanie Richards c5a49d147a Merge pull request #270 from alrra/fix-penguinmark-test-btn
Hide `Test Your Browser` button in `PenguinMark` demo visually, but also from screen readers
2016-12-28 10:17:57 -05:00
Cătălin Mariș d9132c93e6
Hide test btn in PenguinMark from screen readers
Once the `Test Your Browser` button is pressed, hide it visually,
but also from screen readers.
2016-12-28 17:03:13 +02:00
Cătălin Mariș 76bc90ad61
Add charset declaration where missing
Note:

 The charset declaration should be specified as early
 as possible, and must be included completely within
 the first 1024 bytes of the document.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

See also:

  https://www.w3.org/International/questions/qa-html-encoding-declarations.en
  https://html.spec.whatwg.org/multipage/semantics.html#charset
  https://code.google.com/archive/p/doctype-mirror/wikis/ArticleUtf7.wiki
2016-12-22 15:59:27 +02:00
Jesus David García Gomez 9234b3f378 Merge pull request #248 from MicrosoftEdge/fix-182
Use `<button>` instead of `<div>` in Penguin Mark demo
2016-12-16 08:52:19 -08:00
Cătălin Mariș 6e14a36c78
Remove redundant `type` attributes
The HTML specification defines default values for the `type` attribute
for the `<script>`¹ and `<style>`² elements.

Browsers follow the specification so, unless a different value than the
default is needed, the `type` attribute can be omitted, being redundant.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

¹ https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type

   " Omitting the attribute, or setting it to a JavaScript
     MIME type, means that the script is a classic script,
     to be interpreted according to the JavaScript Script
     top-level production. Classic scripts are affected by
     the charset, async, and defer attributes. __Authors
     should omit the attribute, instead of redundantly giving
     a JavaScript MIME type.__ "

  https://html.spec.whatwg.org/multipage/scripting.html#prepare-a-script

   " 6. If either:

        * the `script` element has a `type` attribute and its
          value is the empty string, or
        * the `script` element has no `type` attribute but it
          has a `language` attribute and that attribute's value
          is the empty string, or
        * the `script` element has neither a `type` attribute
          nor a `language` attribute, then

        ...let the script block's type string for this script
        element be `text/javascript`. "

² https://html.spec.whatwg.org/multipage/semantics.html#attr-style-type

  " The default value for the type attribute, which is used
    if the attribute is absent, is `text/css`. "
2016-12-15 15:14:58 +02:00
Cătălin Mariș b3838e35cd
Use `button` instead of `div` in penguinmark demo
Fix MicrosoftEdge/Demos#182
2016-12-15 11:53:11 +02:00
Cătălin Mariș b283b3210c
Add `lang` attribute to `<html>` elements
Ref: http://blog.adrianroselli.com/2015/01/on-use-of-lang-attribute.html

Close #211
2016-12-14 12:23:06 +02:00
Melanie Richards 77ea2fe7fb Minimal header fix (#169)
* Fix minimal demo headers

* Fix header on fishietank

* Take out local copies of demo-header.css

* Demo header CSS file no longer needed locally

* Fix copyright symbols
2016-10-28 13:18:42 -07:00
molant 04b7d59611 lowercasing folders 2016-08-18 14:22:20 -07:00