SlideShare a Scribd company logo
1 of 138
Download to read offline
3/24




2009 Yahoo! Course @ NCTU
Agenda

         • Homework
         • Sharing
         • *Simple* JS Architecture
         • YUI AJAX / Chart / Uploader
         • Semantic Web
         • Accessibility


2009 Yahoo! Course @ NCTU
Homework


2009 Yahoo! Kimo Campus Recruiting
http://josephj.com/entry.php?id=224


 http://140.113.88.2/wsa_hw2.htm
                            YUI GET     YUI Grids
    Meta charset              script   </body>
 YAHOO.util.Event

 http://140.113.214.2/~windsp/YHW/index.html
        IE6         Quirks Mode        Code
                      JavaScript

http://140.113.214.2/~cltsai/hw2/
http://www.cs.nctu.edu.tw/~limc/yahoo/yahoo_hw2.html
2009 Yahoo! Course @ NCTU
•               +         API
           http://tw.developer.yahoo.com/knowledge/api.php#SEARCH




         ipod:
  http://tw.knowledge.yahooapis.com/v1/SEARCH?appid=Fbn2UILIkYoPqtaNTG6aFYgkHY9piA2A8A--
  &p=ipod&format=json&callback=getData



2009 Yahoo! Course @ NCTU
http://tw.knowledge.yahooapis.com/v1/SEARCH?appid=Fbn2UILIkYoPqtaNTG6aFYgkHY9piA2A8A--
  &p=ipod&format=json&callback=getData




2009 Yahoo! Course @ NCTU
http://josephj.com/training/nctu/homework-1.html

                            YUI GET
http://josephj.com/training/nctu/homework-2.html

                            +
            http://developer.yahoo.com/yql/console



2009 Yahoo! Course @ NCTU
Sharing


2009 Yahoo! Kimo Campus Recruiting
3/22

                                     http://www.slideshare.net/secret/
                                             Mq3W9SHxniXLN3




2009 Yahoo! Kimo Campus Recruiting
Yahoo!                     ...




 http://www.slideshare.net/secret/DqGOKP0GLsI4Lk


2009 Yahoo! Course @ NCTU
...
       • Done
           • title
           •
           •
           •
       • Todo
           •
           • Static File Build Process

2009 Yahoo! Course @ NCTU
*Simple*
                     JS Architecture
                                 JavaScript




2009 Yahoo! Kimo Campus Recruiting
•


•
         JavaScript

•   30    JavaScript
masthead

nav

article    ad




           relate-link




ykpiht
CSS   JavaScript
JavaScript
      HTML

 i9/class.js
http://140.113.87.169/~joseph/nctu2/

                      #masthead
        $ cp -R /home/josephj/public_html/nctu2 ~/public_html/.
       $ vim ~/public_html/nctu2/i9/class.js
         setTimeout(function() {
             var oAnim = new YAHOO.util.ColorAnim(‘this’, {
                 backgroundColor:{
                     to:#ff0000
                 }
             };
             oAnim.animate();
         }, 1000)


           Ps.          VIM       WinScp
           http://winscp.net/download/winscp421.exe

2009 Yahoo! Course @ NCTU
YUI Library
                              AJAX / Charts / Uploader




2009 Yahoo! Kimo Campus Recruiting
1. YUI AJAX
                    Web 2.0
http://josephj.com/training/nctu2/sample/yui-ajax.html
YUI AJAX
YUI            AJAX             Connection Manager


                                          2.       Request

                      1.        Request

                                               A
                           3.
           A

      4.
YUI AJAX

AJAX
                                      2.       Request

          1.   JavaScript   Request

                                           A
                   3.
     A

4.
3     YUI Connection
http://josephj.com/training/nctu2/sample/yui-ajax.html
2. YUI Charts
                JavaScript    Flash
http://josephj.com/training/nctu2/sample/yui-chart.html
3. YUI Uploader
              Flash
http://josephj.com/training/nctu/yui-uploader.html
YUI Uploader
Semantic Web


2009 Yahoo! Kimo Campus Recruiting
Semantic


vs. HTML
•
•
•                  Dreamweaver

•                        Search Engine
    Optimization
•        HTML   <table/
    >


•        HTML


•       HTML
Layered Semantic Markup




HTML
                 JavaScript
       CSS
Semantic
•                HTML

• HTML
    •      CSS          JavaScript
•                 Dreamweaver
    Frontpage
HTML
• http://www.w3schools.com/html/
•
<!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http://
www.w3.org/TR/html4/strict.dtdquot;>
<html>
<head>
<meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;>
<title>        </title>
</head>
<body>


</body>
</html>
<!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http://
www.w3.org/TR/html4/strict.dtdquot;>
<html>
<head>
<meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;>
<title>        </title>
</head>
<body>


</body>
</html>

    DOCTYPE
                      X    HTML
<!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http://
www.w3.org/TR/html4/strict.dtdquot;>
<html>
<head>
<meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;>
<title>        </title>
</head>
<body>


</body>
</html>
<!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http://
www.w3.org/TR/html4/strict.dtdquot;>
<html>
<head>
<meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;>
<title>        </title>
</head>
<body>


</body>
</html>
<!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http://
www.w3.org/TR/html4/strict.dtdquot;>
<html>
<head>
<meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;>
<title>        </title>
</head>
<body>


</body>
</html>
<!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http://
www.w3.org/TR/html4/strict.dtdquot;>
<html>
<head>
<meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;>
<title>        </title>
</head>
<body>


</body>
</html>
•
•      <h1> ~ <h6>


• h1
<!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http://
www.w3.org/TR/html4/strict.dtdquot;>
<html>
<head>
<meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;>
<title>         </title>
</head>
<body>
    <h1>1        HTML</h1>
    <p>HTML                   </p>
    <h2>HTML           </h2>
    <p>                                         </p>
    <h3>              </h3>
    <p>        </p>
</body>
</html>
<p>~</p>
<!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http://
www.w3.org/TR/html4/strict.dtdquot;>
<html>
<head>
<meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;>
<title>         </title>
</head>
<body>
    <h1>1        HTML</h1>
    <p>HTML                   </p>
    <h2>HTML           </h2>
    <p>                                         </p>
    <h3>              </h3>
    <p>        </p>
</body>
</html>
<em>~</em>
<!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http://
www.w3.org/TR/html4/strict.dtdquot;>
<html>
<head>
<meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;>
<title>        </title>
</head>
<body>
    <h1>1       HTML</h1>
    <p>      HTML           <em>Semantic    </em>            </p>
</body>
</html>
<strong>~</strong>
<!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http://
www.w3.org/TR/html4/strict.dtdquot;>
<html>
<head>
<meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;>
<title>        </title>
</head>
<body>
    <h1>1       HTML</h1>
    <p>      HTML           <strong>Semantic    </strong>
   </p>
</body>
</html>
<div>~</div>
<!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http://www.w3.org/TR/html4/
strict.dtdquot;>
<html>
<head>
<meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;>
<title>          </title>
</head>
<body>
    <div>
          <a href=”about.html”>     </a>
          <a href=”forum.php”>    </a>
    </div>
    <div>
          <h1>          </h1>
          <p>       josephj.com                    <p>
    </div>
</body>
</html>
<span>~</span>
<!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http://www.w3.org/TR/html4/
strict.dtdquot;>
<html>
<head>
<meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;>
<title>            </title>
</head>
<body>
    <div>
          <h1>           </h1>
          <div>
             <span>      </span>
             <a href=”...”>Yahoo!   </a>
          </div>
    </div>
</body>
</html>
Orz
               |   |○
          这样


                        (
)
<dl>
     <dt>Orz</dt>
       <dd>                |   |○
                                           </dd>
                      这样
     <dt>     </dt>
       <dd>                            (
 )                             </dd>
</dl>
Nike


Dphiten
Nike Dry Fit
Nike


Casio


Nike
Adidas
Sony Cybershot
Dakine
<h2>                  </h2>
<ul>
       <li>Nike        </li>
       <li>         </li>
       <li>Dphiten           </li>
       <li>Nike Dry Fit                 </li>
       <li>Nike        </li>
       <li>   </li>
       <li>Casio        </li>
       <li>   </li>
       <li>Nike        </li>
       <li>Adidas           </li>
       <li>Sony Cybershot            </li>
       <li>Dakine                   </li>
</ul>
4:00                (Energy-in +       )
5:00     GPS
5:00 ~ 10:00    (        ,         )
11:00 ~ 12:00
13:00 ~ 16:00
16:00 ~ 19:00        ,       ,
19:00 ~ 21:00
21:30
<h2>         </h2>
<ol>
       <li>4:00                  (Energy-in +               )</li>
    <li>5:00         GPS                         </li>
    <li>5:00 ~ 10:00         (        ,                  ) </li>
    <li>11:00 ~ 12:00                                            </li>
    <li>13:00 ~ 16:00                                              </li>
    <li>16:00 ~ 19:00             ,       ,   </li>
    <li>19:00 ~ 21:00                                    </li>
    <li>21:30        </li>
</ol>
<table></table>
 120G + 1G RAM             Eee PC    8G + 1G RAM



Intel 800MHz / 120G HDD / 1G RAM            Intel Mobile / 8G HDD (Flash) / 1G RAM



 29,900           14,490



 Vista           XP



 130              30                Web
<table></table>
<h3>       </h3>
<table>
<tr>
   <th></th><th>               120G + 1G RAM    </th><th> Eee PC   8G + 1G RAM   </th>
</tr>
<tr>
   <th>        </th><td>Intel 800MHz / 120G HDD / 1G RAM</td><td>Intel Mobile / 8G HDD (Flash) / 1G RAM</td>
</tr>
<tr>
   <th>        </th><td>29,900</td><td>14,490</td>
</tr>
<tr>
   <th>        </th><td>Vista</td><td>XP</td>
</tr>
<tr>
   <th>            </th><td>130     </td><td>30                Web       </td>
</tr>
<tr>
   <th>            </th><td>    </td><td>    </td>
</tr>
<tr>
   <th>        </th><td>       </td><td>    </td>
</tr>
<tr>
   <th>            </th><td>    </td><td>    </td>
</tr>
</table>
id        class
                                                   class
<ol class=quot;bibliographyquot;>
    <li>
       <cite>quot;Colorimetry, Second Editionquot;, CIE    Publication 15.2-1986,
ISBN 3-900-734-00-3.</cite>
    </li>
    <li>
       <cite>quot;Cascading Style Sheets, level 1quot;,    H. W. Lie, B. Bos,
17 December 1996.</cite>
    </li>
    <li>
         <cite>quot;Cascading Style Sheets, level 2,   CSS2 Specificationquot;,
B. Bos, H. W. Lie, C. Lilley, I. Jacobs, 12 May    1998</cite>
    </li>
</ol>



   id
   id=”navigation”, id=”relate-site”, id=”login”
• The Elements of Meaningful XHTML
  http://tantek.com/presentations/
  2005/09/elements-of-xhtml/

• Bring on the tables
  http://www.456bereastreet.com/
  archive/200410/
  bring_on_the_tables/
Accessibility


2009 Yahoo! Kimo Campus Recruiting
Agenda
1. About
2. Accessibility
3. Usability & AJAX
4. Act Now
5. Conclusion
1. About
http://www.flickr.com/photos/phploveme/2675997575/in/set-72157606174033384/



      2008/7     UK
    YDN International Summit
1
Artur Ortega
•
•
•      User Testing
:p




Artur
•   Ated
•   chph
        +
                 No Script
           js

                ...

                             YUI
      js
•   Joshua




    Yahoo
YDN Evangelist
         Christian Heilmann


2 Accessibility Hack Day
Accessibility Hack Day

       http://scriptingenabled.org/


                                             Web
9/19

       Hacker                         User
9/20

                   London Held by Christian Heilmann
!




Yahoo!
2. Accessibility
Accessibility means that your pages remain
accessible to anyone, under all circumstances,
especially when the user suffers from a
condition she cannot change, for instance
diminished eyesight, or has a browser that
does not support (sufficient) JavaScript
PPK on JavaScript
• Jackie
                                               JAWS          Windows/IE


                          • Michael
                                                      56K                   Links
                                          Opera
Dive Into Accessibility
                          • Bill
  http://dia.z6i.org                  Red Hat + Mozilla
                                                                            Tab

                          • Lilian                                                       IE
                                               Java JavaScript ActiveX        Flash

                                        CNN.com

                          • Marcus                          AT&T
                                                                   Marcus
                                                                                      Marcus
                                                                                        Lynx
2.1   JS
JS             Work

     •
     •
     •
         •
         •
     • Error
JS
•
    •                                            JS
    •                                            JS
• RD                                      JS
 • IE            Web Accessibility Toolbar
        http://www.visionaustralia.org.au/info.aspx?page=1569



 • FF              Web Developer Extension
        https://addons.mozilla.org/en-US/firefox/addon/60
JS
JavaScript                1         JS          PHP
<script>
function formSubmit() {
    var f = this;
    f[‘date’].value = f[‘year’].value + ‘/’ + f[‘month’].value +
‘/’ + f[‘day’].value;
}
</script>
<form onSubmit=”formSubmit”>
        <select name=”year”>...</select>
        <select name=”month”>...</select>
        <select name=”day”>...</select>
    <input type=”hidden” name=”date”>
</form>



          Accessibility          Maintenance
JavaScript              2



 <form>
      ...
     <input type=”reset” onclick=”history.go(-1);” value=”   ”>
 </form>




           Submit             PHP        Redirection
JavaScript                3                href




<a href=”javascript:createWork('20080916');”>2008/09/16</a>




                                  JavaScript         #
2.2
•
•
•
RD
•           tabindex    Tab
•           accesskey
•      JS
•
    • YUI TabView
    • YUI Menu
Google Calendar
Library




YUI Menu
Library




YUI Tabview
JavaScript
2.3   Screen Reader
Screen Reader

   •
   •                    Screen Reader
       http://blog.yam.com/twacc/article/10271539


       •
       •
       •           JAWS
   •
•

•

•
http://tw.youtube.com/watch?v=AmUPhEVWu_E
HTML
•
    • <font size=”6”>         </font>
    • <titile>Yahoo!             </title>
    • <h1>Yahoo!               </h1>
     • <h2>           </h2>
       • <h3>         Mac </h3>
     • <h2>             </h2>
                 http://twiki.corp.yahoo.com/view/Devel/AccessibilityGuidelines   Page Structure
HTML
•
    •                                                                   alt
    •
    •
        • <img src=”...” alt=”
                                          ”>

                     http://twiki.corp.yahoo.com/view/Devel/AccessibilityGuidelines   Image
3. Usability
       User
User Testing Lab
Usability
• = User Ability
•=
•
•
AJAX & Usability
AJAX

•
• Refresh Page
• JavaScript
  •
  •
AJAX means loading information
and updating an interface partially.
             - Christian Heilmann, Again with Accessibility



 Usability
   •
   •
Awesome AJAX!
• AJAX
•             AJAX
•
• Usability
•             User
Danger!
Don’t build your website based on assumption!
Why Danger?
                    The World Wide Web (W3) initiative links
                    related information throughout the globe.
                    HTML provides one simple format for
                    providing linked information, and all W3
                    compatible programs are required to be
                    capable of handling HTML.
W3C Team Director
 Tim Berners-Lee


                    •
                    •
Back Button
Bookmark
Inform the User
Accessibility
             Accessibility

 Usability
                Usability
• SEO
•
•
• User
Usability Accessibility
     Accessibility        Usability
4. Act Now
  Accessibility
Audio Captcha
Audio Captcha
Audio Captcha



•
•
Hacking for Good!




    Easy YouTube
Accessibility in Yahoo! Messenger
                                 Yahoo! Accessibility Program Manager ,Victor Tsaran
                                 http://video.yahoo.com/watch/329037/2145363




            Flash Video Player




                                               CSS




OffScreen                                     Flash
Accessibility in Yahoo! Messenger
             Yahoo! Accessibility Program Manager ,Victor Tsaran
             http://video.yahoo.com/watch/329037/2145363
  <button>




OffScreen                 Flash
Photo epileptic user                  Mobile disabled user




                     Yahoo! Live Accessibility Testing
                   http://produce.yahoo.com/mquoc/YLive_UR/
http://twiki.corp.yahoo.com/view/Devel/UserResearchForAPG#User_2_Alva
Y! Accessibility Guidelines
•                                 •                       <img/>                     alt

•
                                  •
    <title/>, <h1/>~</h6/>
                                       <label/>
•
                                  • <table/>
    HTML
                                       summary scope
•                  CSS                 id headers summary
•                                 • JS
                                     •                 JS
•                                    •
                                     •
                             http://twiki.corp.yahoo.com/view/Devel/AccessibilityGuidelines
•   Iframe
•   Web 2.0   TabView


•             <label/>
•
Conclusion
Yahoo!
0.1%
Customer Fixation
Maximize Our Profit
Maximize Our Users
It’s up to you to
make things better.
  - Christian Heilmann, Again with Accessibility
Thank You!

                                         Ps.    Adam Wang
2009 Yahoo! Course @ NCTU
                                          http://www.flickr.com/photos/adamp3

More Related Content

What's hot

Access youtube in china! china worldchat
Access youtube in china!   china worldchatAccess youtube in china!   china worldchat
Access youtube in china! china worldchat
榴梿 坊林
 
Presentation tools for the classroom 2011
Presentation tools for the classroom 2011Presentation tools for the classroom 2011
Presentation tools for the classroom 2011
Karen Brooks
 

What's hot (18)

Toolbox for Freeapps
Toolbox for FreeappsToolbox for Freeapps
Toolbox for Freeapps
 
Why HTML5 is getting on my nerves…
Why HTML5 is getting on my nerves…Why HTML5 is getting on my nerves…
Why HTML5 is getting on my nerves…
 
Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...
Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...
Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...
 
dragon mod
dragon moddragon mod
dragon mod
 
The Multipack Presents: "Wrestling With Asp.Net And Web Standards" by Anthony...
The Multipack Presents: "Wrestling With Asp.Net And Web Standards" by Anthony...The Multipack Presents: "Wrestling With Asp.Net And Web Standards" by Anthony...
The Multipack Presents: "Wrestling With Asp.Net And Web Standards" by Anthony...
 
Web Systems Architecture by Moshe Kaplan
Web Systems Architecture by Moshe KaplanWeb Systems Architecture by Moshe Kaplan
Web Systems Architecture by Moshe Kaplan
 
Cis1 192-xm2b-alcala-alfredo-web-links
Cis1 192-xm2b-alcala-alfredo-web-linksCis1 192-xm2b-alcala-alfredo-web-links
Cis1 192-xm2b-alcala-alfredo-web-links
 
Kristal Bigelow Professional Persona Presentation
Kristal Bigelow Professional Persona PresentationKristal Bigelow Professional Persona Presentation
Kristal Bigelow Professional Persona Presentation
 
Phenq reviews
Phenq reviewsPhenq reviews
Phenq reviews
 
Joomla Template Development
Joomla Template DevelopmentJoomla Template Development
Joomla Template Development
 
Access youtube in china! china worldchat
Access youtube in china!   china worldchatAccess youtube in china!   china worldchat
Access youtube in china! china worldchat
 
Front-end on steroids
Front-end on steroidsFront-end on steroids
Front-end on steroids
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Ejemplos de sitios con HTML5 + CSS3 + jQuery
Ejemplos de sitios con HTML5 + CSS3 + jQueryEjemplos de sitios con HTML5 + CSS3 + jQuery
Ejemplos de sitios con HTML5 + CSS3 + jQuery
 
backlink
backlinkbacklink
backlink
 
Presentation tools for the classroom 2011
Presentation tools for the classroom 2011Presentation tools for the classroom 2011
Presentation tools for the classroom 2011
 
60 Sites in 60 Minutes
60 Sites in 60 Minutes60 Sites in 60 Minutes
60 Sites in 60 Minutes
 
Parker Devonne 3.4
Parker Devonne 3.4Parker Devonne 3.4
Parker Devonne 3.4
 

Similar to Josephj Yui Nctu 2

GTAC: AtomPub, testing your server implementation
GTAC: AtomPub, testing your server implementationGTAC: AtomPub, testing your server implementation
GTAC: AtomPub, testing your server implementation
David Calavera
 
Widget Summit 2008
Widget Summit 2008Widget Summit 2008
Widget Summit 2008
Volkan Unsal
 
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
areyouok
 

Similar to Josephj Yui Nctu 2 (20)

Html5
Html5Html5
Html5
 
JWU Guest Talk: JavaScript and AJAX
JWU Guest Talk: JavaScript and AJAXJWU Guest Talk: JavaScript and AJAX
JWU Guest Talk: JavaScript and AJAX
 
HTML5 - techMaine Presentation 5/18/09
HTML5 - techMaine Presentation 5/18/09HTML5 - techMaine Presentation 5/18/09
HTML5 - techMaine Presentation 5/18/09
 
Front End Website Optimization
Front End Website OptimizationFront End Website Optimization
Front End Website Optimization
 
SearchMonkey
SearchMonkeySearchMonkey
SearchMonkey
 
YQL talk at OHD Jakarta
YQL talk at OHD JakartaYQL talk at OHD Jakarta
YQL talk at OHD Jakarta
 
Even Faster Web Sites at jQuery Conference '09
Even Faster Web Sites at jQuery Conference '09Even Faster Web Sites at jQuery Conference '09
Even Faster Web Sites at jQuery Conference '09
 
GTAC: AtomPub, testing your server implementation
GTAC: AtomPub, testing your server implementationGTAC: AtomPub, testing your server implementation
GTAC: AtomPub, testing your server implementation
 
JAva Script Toolkit
JAva Script ToolkitJAva Script Toolkit
JAva Script Toolkit
 
Lca2009 Video A11y
Lca2009 Video A11yLca2009 Video A11y
Lca2009 Video A11y
 
Web 2.0 &amp; Search Engines
Web 2.0 &amp; Search EnginesWeb 2.0 &amp; Search Engines
Web 2.0 &amp; Search Engines
 
Web services and JavaScript
Web services and JavaScriptWeb services and JavaScript
Web services and JavaScript
 
Widget Summit 2008
Widget Summit 2008Widget Summit 2008
Widget Summit 2008
 
HTML5
HTML5HTML5
HTML5
 
HTML5: 5 Quick Wins
HTML5:  5 Quick WinsHTML5:  5 Quick Wins
HTML5: 5 Quick Wins
 
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
 
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
 
WordPress APIs
WordPress APIsWordPress APIs
WordPress APIs
 
More Secrets of JavaScript Libraries
More Secrets of JavaScript LibrariesMore Secrets of JavaScript Libraries
More Secrets of JavaScript Libraries
 
Kiss Phpnw08
Kiss Phpnw08Kiss Phpnw08
Kiss Phpnw08
 

More from Joseph Chiang

前端的未來 - 前端工程實務訓練
前端的未來 - 前端工程實務訓練前端的未來 - 前端工程實務訓練
前端的未來 - 前端工程實務訓練
Joseph Chiang
 
Performance 入門 - 前端工程開發實務訓練
Performance 入門 - 前端工程開發實務訓練Performance 入門 - 前端工程開發實務訓練
Performance 入門 - 前端工程開發實務訓練
Joseph Chiang
 
Debugging - 前端工程開發實務訓練
 Debugging - 前端工程開發實務訓練 Debugging - 前端工程開發實務訓練
Debugging - 前端工程開發實務訓練
Joseph Chiang
 
Javascript 入門 - 前端工程開發實務訓練
Javascript 入門 - 前端工程開發實務訓練Javascript 入門 - 前端工程開發實務訓練
Javascript 入門 - 前端工程開發實務訓練
Joseph Chiang
 
Node.js 入門 - 前端工程開發實務訓練
Node.js 入門 - 前端工程開發實務訓練Node.js 入門 - 前端工程開發實務訓練
Node.js 入門 - 前端工程開發實務訓練
Joseph Chiang
 
前端工程開發實務訓練
前端工程開發實務訓練前端工程開發實務訓練
前端工程開發實務訓練
Joseph Chiang
 
YUI 教學 - 前端工程開發實務訓練
YUI 教學 - 前端工程開發實務訓練YUI 教學 - 前端工程開發實務訓練
YUI 教學 - 前端工程開發實務訓練
Joseph Chiang
 
CSS 入門 - 前端工程開發實務訓練
CSS 入門 - 前端工程開發實務訓練CSS 入門 - 前端工程開發實務訓練
CSS 入門 - 前端工程開發實務訓練
Joseph Chiang
 
HTML 入門 - 前端工程開發實務訓練
HTML 入門 - 前端工程開發實務訓練HTML 入門 - 前端工程開發實務訓練
HTML 入門 - 前端工程開發實務訓練
Joseph Chiang
 

More from Joseph Chiang (20)

不断归零的前端人生 - 2016 中国软件开发者大会
不断归零的前端人生 - 2016 中国软件开发者大会不断归零的前端人生 - 2016 中国软件开发者大会
不断归零的前端人生 - 2016 中国软件开发者大会
 
Let's Redux!
Let's Redux!Let's Redux!
Let's Redux!
 
Automatic Functional Testing with Selenium and SauceLabs
Automatic Functional Testing with Selenium and SauceLabsAutomatic Functional Testing with Selenium and SauceLabs
Automatic Functional Testing with Selenium and SauceLabs
 
From Hacker to Programmer (w/ Webpack, Babel and React)
From Hacker to Programmer (w/ Webpack, Babel and React)From Hacker to Programmer (w/ Webpack, Babel and React)
From Hacker to Programmer (w/ Webpack, Babel and React)
 
JavaScript Promise
JavaScript PromiseJavaScript Promise
JavaScript Promise
 
F2E for Enterprise
F2E for EnterpriseF2E for Enterprise
F2E for Enterprise
 
JavaScript Code Quality
JavaScript Code QualityJavaScript Code Quality
JavaScript Code Quality
 
F2E, the Keystone
F2E, the KeystoneF2E, the Keystone
F2E, the Keystone
 
前端的未來 - 前端工程實務訓練
前端的未來 - 前端工程實務訓練前端的未來 - 前端工程實務訓練
前端的未來 - 前端工程實務訓練
 
Performance 入門 - 前端工程開發實務訓練
Performance 入門 - 前端工程開發實務訓練Performance 入門 - 前端工程開發實務訓練
Performance 入門 - 前端工程開發實務訓練
 
Debugging - 前端工程開發實務訓練
 Debugging - 前端工程開發實務訓練 Debugging - 前端工程開發實務訓練
Debugging - 前端工程開發實務訓練
 
Javascript 入門 - 前端工程開發實務訓練
Javascript 入門 - 前端工程開發實務訓練Javascript 入門 - 前端工程開發實務訓練
Javascript 入門 - 前端工程開發實務訓練
 
Node.js 入門 - 前端工程開發實務訓練
Node.js 入門 - 前端工程開發實務訓練Node.js 入門 - 前端工程開發實務訓練
Node.js 入門 - 前端工程開發實務訓練
 
前端工程開發實務訓練
前端工程開發實務訓練前端工程開發實務訓練
前端工程開發實務訓練
 
YUI 教學 - 前端工程開發實務訓練
YUI 教學 - 前端工程開發實務訓練YUI 教學 - 前端工程開發實務訓練
YUI 教學 - 前端工程開發實務訓練
 
CSS 入門 - 前端工程開發實務訓練
CSS 入門 - 前端工程開發實務訓練CSS 入門 - 前端工程開發實務訓練
CSS 入門 - 前端工程開發實務訓練
 
HTML 入門 - 前端工程開發實務訓練
HTML 入門 - 前端工程開發實務訓練HTML 入門 - 前端工程開發實務訓練
HTML 入門 - 前端工程開發實務訓練
 
模块加载策略 - 2012 SDCC, 北京
模块加载策略 - 2012 SDCC, 北京模块加载策略 - 2012 SDCC, 北京
模块加载策略 - 2012 SDCC, 北京
 
YUI is Sexy (for JSDC.tw)
YUI is Sexy (for JSDC.tw)YUI is Sexy (for JSDC.tw)
YUI is Sexy (for JSDC.tw)
 
YUI is Sexy - 使用 YUI 作為開發基礎
YUI is Sexy - 使用 YUI 作為開發基礎YUI is Sexy - 使用 YUI 作為開發基礎
YUI is Sexy - 使用 YUI 作為開發基礎
 

Recently uploaded

Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 

Recently uploaded (20)

Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideCollecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 

Josephj Yui Nctu 2

  • 2. Agenda • Homework • Sharing • *Simple* JS Architecture • YUI AJAX / Chart / Uploader • Semantic Web • Accessibility 2009 Yahoo! Course @ NCTU
  • 3. Homework 2009 Yahoo! Kimo Campus Recruiting
  • 4. http://josephj.com/entry.php?id=224 http://140.113.88.2/wsa_hw2.htm YUI GET YUI Grids Meta charset script </body> YAHOO.util.Event http://140.113.214.2/~windsp/YHW/index.html IE6 Quirks Mode Code JavaScript http://140.113.214.2/~cltsai/hw2/ http://www.cs.nctu.edu.tw/~limc/yahoo/yahoo_hw2.html 2009 Yahoo! Course @ NCTU
  • 5. + API http://tw.developer.yahoo.com/knowledge/api.php#SEARCH ipod: http://tw.knowledge.yahooapis.com/v1/SEARCH?appid=Fbn2UILIkYoPqtaNTG6aFYgkHY9piA2A8A-- &p=ipod&format=json&callback=getData 2009 Yahoo! Course @ NCTU
  • 7. http://josephj.com/training/nctu/homework-1.html YUI GET http://josephj.com/training/nctu/homework-2.html + http://developer.yahoo.com/yql/console 2009 Yahoo! Course @ NCTU
  • 8. Sharing 2009 Yahoo! Kimo Campus Recruiting
  • 9. 3/22 http://www.slideshare.net/secret/ Mq3W9SHxniXLN3 2009 Yahoo! Kimo Campus Recruiting
  • 10. Yahoo! ... http://www.slideshare.net/secret/DqGOKP0GLsI4Lk 2009 Yahoo! Course @ NCTU
  • 11. ... • Done • title • • • • Todo • • Static File Build Process 2009 Yahoo! Course @ NCTU
  • 12. *Simple* JS Architecture JavaScript 2009 Yahoo! Kimo Campus Recruiting
  • 13. • • JavaScript • 30 JavaScript
  • 14. masthead nav article ad relate-link ykpiht
  • 15.
  • 16. CSS JavaScript
  • 17. JavaScript HTML i9/class.js
  • 18. http://140.113.87.169/~joseph/nctu2/ #masthead $ cp -R /home/josephj/public_html/nctu2 ~/public_html/. $ vim ~/public_html/nctu2/i9/class.js setTimeout(function() { var oAnim = new YAHOO.util.ColorAnim(‘this’, { backgroundColor:{ to:#ff0000 } }; oAnim.animate(); }, 1000) Ps. VIM WinScp http://winscp.net/download/winscp421.exe 2009 Yahoo! Course @ NCTU
  • 19. YUI Library AJAX / Charts / Uploader 2009 Yahoo! Kimo Campus Recruiting
  • 20. 1. YUI AJAX Web 2.0 http://josephj.com/training/nctu2/sample/yui-ajax.html
  • 21. YUI AJAX YUI AJAX Connection Manager 2. Request 1. Request A 3. A 4.
  • 22. YUI AJAX AJAX 2. Request 1. JavaScript Request A 3. A 4.
  • 23. 3 YUI Connection http://josephj.com/training/nctu2/sample/yui-ajax.html
  • 24. 2. YUI Charts JavaScript Flash http://josephj.com/training/nctu2/sample/yui-chart.html
  • 25. 3. YUI Uploader Flash http://josephj.com/training/nctu/yui-uploader.html
  • 26.
  • 28. Semantic Web 2009 Yahoo! Kimo Campus Recruiting
  • 30.
  • 31.
  • 32. • • • Dreamweaver • Search Engine Optimization
  • 33. HTML <table/ > • HTML • HTML
  • 35. Semantic • HTML • HTML • CSS JavaScript • Dreamweaver Frontpage
  • 36. HTML
  • 38. <!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http:// www.w3.org/TR/html4/strict.dtdquot;> <html> <head> <meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;> <title> </title> </head> <body> </body> </html>
  • 39. <!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http:// www.w3.org/TR/html4/strict.dtdquot;> <html> <head> <meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;> <title> </title> </head> <body> </body> </html> DOCTYPE X HTML
  • 40. <!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http:// www.w3.org/TR/html4/strict.dtdquot;> <html> <head> <meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;> <title> </title> </head> <body> </body> </html>
  • 41. <!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http:// www.w3.org/TR/html4/strict.dtdquot;> <html> <head> <meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;> <title> </title> </head> <body> </body> </html>
  • 42. <!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http:// www.w3.org/TR/html4/strict.dtdquot;> <html> <head> <meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;> <title> </title> </head> <body> </body> </html>
  • 43. <!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http:// www.w3.org/TR/html4/strict.dtdquot;> <html> <head> <meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;> <title> </title> </head> <body> </body> </html>
  • 44. • • <h1> ~ <h6> • h1
  • 45. <!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http:// www.w3.org/TR/html4/strict.dtdquot;> <html> <head> <meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;> <title> </title> </head> <body> <h1>1 HTML</h1> <p>HTML </p> <h2>HTML </h2> <p> </p> <h3> </h3> <p> </p> </body> </html>
  • 46. <p>~</p> <!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http:// www.w3.org/TR/html4/strict.dtdquot;> <html> <head> <meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;> <title> </title> </head> <body> <h1>1 HTML</h1> <p>HTML </p> <h2>HTML </h2> <p> </p> <h3> </h3> <p> </p> </body> </html>
  • 47. <em>~</em> <!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http:// www.w3.org/TR/html4/strict.dtdquot;> <html> <head> <meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;> <title> </title> </head> <body> <h1>1 HTML</h1> <p> HTML <em>Semantic </em> </p> </body> </html>
  • 48. <strong>~</strong> <!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http:// www.w3.org/TR/html4/strict.dtdquot;> <html> <head> <meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;> <title> </title> </head> <body> <h1>1 HTML</h1> <p> HTML <strong>Semantic </strong> </p> </body> </html>
  • 49. <div>~</div> <!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http://www.w3.org/TR/html4/ strict.dtdquot;> <html> <head> <meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;> <title> </title> </head> <body> <div> <a href=”about.html”> </a> <a href=”forum.php”> </a> </div> <div> <h1> </h1> <p> josephj.com <p> </div> </body> </html>
  • 50. <span>~</span> <!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01//ENquot; quot;http://www.w3.org/TR/html4/ strict.dtdquot;> <html> <head> <meta http-equiv=quot;content-typequot; content=quot;text/html; charset=utf-8quot;> <title> </title> </head> <body> <div> <h1> </h1> <div> <span> </span> <a href=”...”>Yahoo! </a> </div> </div> </body> </html>
  • 51. Orz | |○ 这样 ( )
  • 52. <dl> <dt>Orz</dt> <dd> | |○ </dd> 这样 <dt> </dt> <dd> ( ) </dd> </dl>
  • 54. <h2> </h2> <ul> <li>Nike </li> <li> </li> <li>Dphiten </li> <li>Nike Dry Fit </li> <li>Nike </li> <li> </li> <li>Casio </li> <li> </li> <li>Nike </li> <li>Adidas </li> <li>Sony Cybershot </li> <li>Dakine </li> </ul>
  • 55. 4:00 (Energy-in + ) 5:00 GPS 5:00 ~ 10:00 ( , ) 11:00 ~ 12:00 13:00 ~ 16:00 16:00 ~ 19:00 , , 19:00 ~ 21:00 21:30
  • 56. <h2> </h2> <ol> <li>4:00 (Energy-in + )</li> <li>5:00 GPS </li> <li>5:00 ~ 10:00 ( , ) </li> <li>11:00 ~ 12:00 </li> <li>13:00 ~ 16:00 </li> <li>16:00 ~ 19:00 , , </li> <li>19:00 ~ 21:00 </li> <li>21:30 </li> </ol>
  • 57. <table></table> 120G + 1G RAM Eee PC 8G + 1G RAM Intel 800MHz / 120G HDD / 1G RAM Intel Mobile / 8G HDD (Flash) / 1G RAM 29,900 14,490 Vista XP 130 30 Web
  • 58. <table></table> <h3> </h3> <table> <tr> <th></th><th> 120G + 1G RAM </th><th> Eee PC 8G + 1G RAM </th> </tr> <tr> <th> </th><td>Intel 800MHz / 120G HDD / 1G RAM</td><td>Intel Mobile / 8G HDD (Flash) / 1G RAM</td> </tr> <tr> <th> </th><td>29,900</td><td>14,490</td> </tr> <tr> <th> </th><td>Vista</td><td>XP</td> </tr> <tr> <th> </th><td>130 </td><td>30 Web </td> </tr> <tr> <th> </th><td> </td><td> </td> </tr> <tr> <th> </th><td> </td><td> </td> </tr> <tr> <th> </th><td> </td><td> </td> </tr> </table>
  • 59. id class class <ol class=quot;bibliographyquot;> <li> <cite>quot;Colorimetry, Second Editionquot;, CIE Publication 15.2-1986, ISBN 3-900-734-00-3.</cite> </li> <li> <cite>quot;Cascading Style Sheets, level 1quot;, H. W. Lie, B. Bos, 17 December 1996.</cite> </li> <li> <cite>quot;Cascading Style Sheets, level 2, CSS2 Specificationquot;, B. Bos, H. W. Lie, C. Lilley, I. Jacobs, 12 May 1998</cite> </li> </ol> id id=”navigation”, id=”relate-site”, id=”login”
  • 60. • The Elements of Meaningful XHTML http://tantek.com/presentations/ 2005/09/elements-of-xhtml/ • Bring on the tables http://www.456bereastreet.com/ archive/200410/ bring_on_the_tables/
  • 61. Accessibility 2009 Yahoo! Kimo Campus Recruiting
  • 62. Agenda 1. About 2. Accessibility 3. Usability & AJAX 4. Act Now 5. Conclusion
  • 65. 1
  • 66. Artur Ortega • • • User Testing
  • 68. Ated
  • 69. chph + No Script js ... YUI js
  • 70. Joshua Yahoo
  • 71. YDN Evangelist Christian Heilmann 2 Accessibility Hack Day
  • 72. Accessibility Hack Day http://scriptingenabled.org/ Web 9/19 Hacker User 9/20 London Held by Christian Heilmann
  • 75. Accessibility means that your pages remain accessible to anyone, under all circumstances, especially when the user suffers from a condition she cannot change, for instance diminished eyesight, or has a browser that does not support (sufficient) JavaScript PPK on JavaScript
  • 76. • Jackie JAWS Windows/IE • Michael 56K Links Opera Dive Into Accessibility • Bill http://dia.z6i.org Red Hat + Mozilla Tab • Lilian IE Java JavaScript ActiveX Flash CNN.com • Marcus AT&T Marcus Marcus Lynx
  • 77. 2.1 JS
  • 78. JS Work • • • • • • Error
  • 79. JS • • JS • JS • RD JS • IE Web Accessibility Toolbar http://www.visionaustralia.org.au/info.aspx?page=1569 • FF Web Developer Extension https://addons.mozilla.org/en-US/firefox/addon/60
  • 80. JS
  • 81.
  • 82. JavaScript 1 JS PHP <script> function formSubmit() { var f = this; f[‘date’].value = f[‘year’].value + ‘/’ + f[‘month’].value + ‘/’ + f[‘day’].value; } </script> <form onSubmit=”formSubmit”> <select name=”year”>...</select> <select name=”month”>...</select> <select name=”day”>...</select> <input type=”hidden” name=”date”> </form> Accessibility Maintenance
  • 83. JavaScript 2 <form> ... <input type=”reset” onclick=”history.go(-1);” value=” ”> </form> Submit PHP Redirection
  • 84. JavaScript 3 href <a href=”javascript:createWork('20080916');”>2008/09/16</a> JavaScript #
  • 85. 2.2
  • 87. RD
  • 88. tabindex Tab • accesskey • JS • • YUI TabView • YUI Menu
  • 93.
  • 94. 2.3 Screen Reader
  • 95. Screen Reader • • Screen Reader http://blog.yam.com/twacc/article/10271539 • • • JAWS •
  • 98. HTML • • <font size=”6”> </font> • <titile>Yahoo! </title> • <h1>Yahoo! </h1> • <h2> </h2> • <h3> Mac </h3> • <h2> </h2> http://twiki.corp.yahoo.com/view/Devel/AccessibilityGuidelines Page Structure
  • 99. HTML • • alt • • • <img src=”...” alt=” ”> http://twiki.corp.yahoo.com/view/Devel/AccessibilityGuidelines Image
  • 100. 3. Usability User
  • 102. Usability • = User Ability •= • •
  • 104. AJAX • • Refresh Page • JavaScript • •
  • 105.
  • 106. AJAX means loading information and updating an interface partially. - Christian Heilmann, Again with Accessibility Usability • •
  • 107. Awesome AJAX! • AJAX • AJAX • • Usability • User
  • 108. Danger! Don’t build your website based on assumption!
  • 109. Why Danger? The World Wide Web (W3) initiative links related information throughout the globe. HTML provides one simple format for providing linked information, and all W3 compatible programs are required to be capable of handling HTML. W3C Team Director Tim Berners-Lee • •
  • 113. Accessibility Accessibility Usability Usability
  • 114.
  • 116. Usability Accessibility Accessibility Usability
  • 117. 4. Act Now Accessibility
  • 121. Hacking for Good! Easy YouTube
  • 122. Accessibility in Yahoo! Messenger Yahoo! Accessibility Program Manager ,Victor Tsaran http://video.yahoo.com/watch/329037/2145363 Flash Video Player CSS OffScreen Flash
  • 123. Accessibility in Yahoo! Messenger Yahoo! Accessibility Program Manager ,Victor Tsaran http://video.yahoo.com/watch/329037/2145363 <button> OffScreen Flash
  • 124. Photo epileptic user Mobile disabled user Yahoo! Live Accessibility Testing http://produce.yahoo.com/mquoc/YLive_UR/ http://twiki.corp.yahoo.com/view/Devel/UserResearchForAPG#User_2_Alva
  • 125. Y! Accessibility Guidelines • • <img/> alt • • <title/>, <h1/>~</h6/> <label/> • • <table/> HTML summary scope • CSS id headers summary • • JS • JS • • • http://twiki.corp.yahoo.com/view/Devel/AccessibilityGuidelines
  • 126.
  • 127.
  • 128. Iframe • Web 2.0 TabView • <label/> •
  • 129.
  • 131. Yahoo!
  • 132. 0.1%
  • 133.
  • 137. It’s up to you to make things better. - Christian Heilmann, Again with Accessibility
  • 138. Thank You! Ps. Adam Wang 2009 Yahoo! Course @ NCTU http://www.flickr.com/photos/adamp3