From 264f6cf7d8284c2f8f4c6ed8e0f57e5a9bf959d3 Mon Sep 17 00:00:00 2001 From: Yangshun Tay Date: Wed, 17 Jan 2018 00:24:03 -0800 Subject: [PATCH] Remove Front End --- front-end/accessibility.md | 201 ----- front-end/browser.md | 59 -- front-end/caching.md | 14 - front-end/css.md | 34 - front-end/design.md | 14 - front-end/dom.md | 102 --- front-end/html.md | 18 - front-end/interview-questions.md | 1306 +----------------------------- front-end/javascript.md | 108 --- front-end/networking.md | 11 - front-end/performance.md | 66 -- front-end/security.md | 110 --- front-end/widgets.md | 56 -- 13 files changed, 2 insertions(+), 2097 deletions(-) delete mode 100644 front-end/accessibility.md delete mode 100644 front-end/browser.md delete mode 100644 front-end/caching.md delete mode 100644 front-end/css.md delete mode 100644 front-end/design.md delete mode 100644 front-end/dom.md delete mode 100644 front-end/html.md delete mode 100644 front-end/javascript.md delete mode 100644 front-end/networking.md delete mode 100644 front-end/performance.md delete mode 100644 front-end/security.md delete mode 100644 front-end/widgets.md diff --git a/front-end/accessibility.md b/front-end/accessibility.md deleted file mode 100644 index e6f61451..00000000 --- a/front-end/accessibility.md +++ /dev/null @@ -1,201 +0,0 @@ -Accessibility -== - -## Glossary - -- **Accessibility** - -- **WAI-ARIA** - Web Accessibility Initiative - Accessible Rich Internet Applications. Commonly shortened to ARIA. - -## What is Accessibility? - -Making sure that the content and the websites we create are usable to people with impairments or disabilities. - -## WebAIM Checklist - -The following is a checklist that contains recommendations for implementing HTML-related principles and techniques for those seeking WCAG 2.0 conformance (it is NOT the Web Content Accessibility Guidelines (WCAG) 2.0). - -- **Perceivable** - Web content is made available to the senses - sight, hearing, and/or touch. - - Text Alternatives: Provide text alternatives for any non-text content. - - Time-based Media: Provide alternatives for time-based media. - - Adaptable: Create content that can be presented in different ways (for example simpler layout) without losing information or structure. - - Distinguishable: Make it easier for users to see and hear content including separating foreground from background. -- **Operable** - Interface forms, controls, and navigation are operable. - - Keyboard Accessible: Make all functionality available from a keyboard. - - Enough Time: Provide users enough time to read and use content. - - Seizures: Do not design content in a way that is known to cause seizures. - - Navigable: Provide ways to help users navigate, find content, and determine where they are. -- **Understandable** - Content and interface are understandable. - - Readable: Make text content readable and understandable. - - Predictable: Make Web pages appear and operate in predictable ways. - - Input Assistance: Help users avoid and correct mistakes. -- **Robust** - Content can be used reliably by a wide variety of user agents, including assistive technologies. - - Compatible: Maximize compatibility with current and future user agents, including assistive technologies. - -**Source:** http://webaim.org/standards/wcag/checklist - -## Focus - -- Making sure your application has a sensible tab order is important. -- HTML forms and inputs are focusable and handle keyboard events by default. -- Focus tab order relies on the DOM order in the HTML. -- Be careful when using CSS when changing the order of elements on the screen, it can cause the order to be unintuitive and messy. -- `tabindex` attribute: - - `-1`: Not in the natural tab order, but programatically focusable using JavaScript with `focus()` method. Useful for off-screen content which later appears on screen. Children elements are **NOT** pulled out of the tab order. - - `0`: In the natural tab order and can be programatically focused. - - `1` (bigger than 1): In the natural tab order but jumped in front of the tab order regardless of where it is in the DOM. It can be considered an anti-pattern. -- Add focus behavior to interactive controls, like buttons, tabs, dropdowns, stuff that users will interactive with. -- Use skip links to allow users to skip directly to the main content without having to tab through all the navigation. -- `document.activeElement` is useful in tracking the current element that has focus on. - -## Semantics - -- Using proper labeling not only helps accessibility but it makes the element easier to target for all users! -- Use `