Skip to content

Instantly share code, notes, and snippets.

View alice's full-sized avatar

Alice alice

View GitHub Profile

Keybase proof

I hereby claim:

  • I am alice on github.
  • I am sundress (https://keybase.io/sundress) on keybase.
  • I have a public key ASB4vdFvUkLz3NHjivLzG4mXSB_RUNqq8xwK-dxZUII8DQo

To claim this, I am signing this object:

Data accessed from JavaScript APIs must not be modified while a JavaScript event loop is running.

A JavaScript Web API is generally a wrapper around a feature implemented in a lower-level language, such as C++ or Rust. Unlike those languages, JavaScript guarantees that once a piece of code begins executing, it will continue executing until it has completed.

Alternative Text for CSS Generated Content

Problem

CSS generated content may consist of text, images, or a combination of the two.

However, if the generated content is within a pseudo-element, there is no way to provide any kind of text alternative for the content.

Examples

Standardising the accessibility tree

Shortlink: http://bit.ly/a11y-tree

Goals

  • Determine potential editors for a general accessibility tree spec
  • Determine intended audience for spec
  • Determine initial location for work
  • Discuss intended lifecycle
Method:
* Copied text of Django CoC from https://www.djangoproject.com/conduct/
* Copied text of Open CoC from http://todogroup.org/opencodeofconduct/
* In each case, added newlines after . and : and removed leading spaces.
--- Django Code of Conduct 2015-07-25 09:11:35.000000000 -0700
+++ Open Code of Conduct 2015-07-25 09:11:26.000000000 -0700
@@ -1,33 +1,33 @@
Be friendly and patient.
@alice
alice / gist:5393050
Last active December 16, 2015 06:39 — forked from gulnara/gist:5392641
list HANGMAN
// Did you consider using any different syntax for multi-line strings, instead of the Python syntax?
// I like this array syntax!
HANGMAN:0 <- '''
+---+
| |
|
|
@alice
alice / gist:5392920
Last active December 16, 2015 06:39 — forked from gulnara/gist:5384900
My comments start with // to distinguish from gulnara's.
#assignment is done via <-, equality is id with only one =
// Nice!
prompt <- '>'
#printing is done via show
show 'What's your name?'
#the input from user is taken via user_input = raw_input in python