Skip to content

Commit 30cca29

Browse files
committed
fix(website): image alt
1 parent e7cdb02 commit 30cca29

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

docs/index.haml

+12-17
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ layout: default
99
.col-xs-6
1010
.spacer100
1111
.presented-by
12-
%a{href: 'https://www.algolia.com', title: 'Instant Search as a Service', target: '_blank'}
13-
%img{src:"img/algolia-logo.svg", width: 100}
12+
%a{href: "https://www.algolia.com", title: "Instant Search as a Service", target: "_blank"}
13+
%img{src:"img/algolia-logo.svg", width: 100, alt:"Logo Algolia"}
1414
presents:
1515
%h1.logo
1616
{% svg img/logo-instantsearch.svg %}
@@ -21,8 +21,6 @@ layout: default
2121
-# %a{href:"https://twitter.com/algolia", class:"twitter-follow-button", "data-show-count"=>"false"} Follow @algolia
2222
-# %span  
2323
-# %iframe{src:"https://ghbtns.com/github-btn.html?user=algolia&repo=instantsearch.js&type=star&count=true", frameborder:0, scrolling:0, width:170, height:20}
24-
.spacer100
25-
-# %img{src:"img/icon-widget.svg", width:70}
2624
%h2 There’s a widget for that
2725
%p.lead
2826
Pick from an extensive library of widgets to power your search
@@ -33,21 +31,21 @@ layout: default
3331
.container
3432
.row
3533
.col-xs-6
36-
%img{src:"img/icon-theme.svg", width:70}
34+
%img{src:"img/icon-theme.svg", width:70, alt:"Widgets"}
3735
%h2 More than widgets
3836
%p.lead You code becomes easy to write and maintain as you won't need to build all the glue code between widgets to track the state of your facets, decode URL parameters, etc. Everything is packaged in the lib.
3937
%section#widget-customization-2.window
4038
.container
4139
.row
4240
.col-xs-6
43-
%img{src:"img/icon-infinite.svg", width:70}
41+
%img{src:"img/icon-infinite.svg", width:70, alt:"Infinite"}
4442
%h2 Infinite possibilities
4543
%p.lead Every website is different. The modular design of instantsearch.js allows you to configure, rearrange and combine the widgets to build your own experience.
4644
%section#widget-customization-3.window
4745
.container
4846
.row
4947
.col-xs-6
50-
%img{src:"img/icon-community.svg", width:70}
48+
%img{src:"img/icon-community.svg", width:70, alt:"Community"}
5149
%h2 Bring your own widget
5250
%p.lead Sometimes you want to deviate from the standard path and build a custom feature. You can do that by forking a widget or coding your own and integrating into the open source project.
5351
.w-1
@@ -62,7 +60,7 @@ layout: default
6260
.col-xs-6
6361
.col-xs-6.pos-rel
6462
#anim
65-
%img{src:"img/drone-search.png", width:420}
63+
%img{src:"img/drone-search.png", width:420, alt:"Drone Shop Layout"}
6664
.widget.widget-1
6765
.widget.widget-2
6866
.widget.widget-3
@@ -78,7 +76,6 @@ layout: default
7876
.widget.widget-5
7977
.widget.widget-6
8078
.widget.widget-7
81-
-# %img{src:"img/combinations.svg", width:420}
8279
.screen.screen-2
8380
.widget.widget-1
8481
.widget.widget-2
@@ -87,7 +84,6 @@ layout: default
8784
.widget.widget-5
8885
.widget.widget-6
8986
.widget.widget-7
90-
-# %img{src:"img/combinations.svg", width:420}
9187
.screen.screen-3
9288
.widget.widget-1
9389
.widget.widget-2
@@ -96,22 +92,21 @@ layout: default
9692
.widget.widget-5
9793
.widget.widget-6
9894
.widget.widget-7
99-
-# %img{src:"img/combinations.svg", width:420}
10095
#anim-overlay
10196
.widget-intro.w-1
102-
%img.m-r.m-t{src:"img/icon-widget-searchbox.svg", width:50}
97+
%img.m-r.m-t{src:"img/icon-widget-searchbox.svg", width:50, alt:"Widget Search Box"}
10398
%h4 Search Box
10499
%p Search at each keystroke
105100
.widget-intro.w-2
106-
%img.m-r.m-t{src:"img/icon-widget-filter.svg", width:50}
101+
%img.m-r.m-t{src:"img/icon-widget-filter.svg", width:50, alt:"Widget Filters"}
107102
%h4 Filters
108103
%p List of links or checkboxes
109104
.widget-intro.w-3
110-
%img.m-r.m-t{src:"img/icon-widget-slider.svg", width:50}
105+
%img.m-r.m-t{src:"img/icon-widget-slider.svg", width:50, alt:"Widget Slider"}
111106
%h4 Slider
112107
%p Filter numerical values
113108
.widget-intro.w-4
114-
%img.m-r.m-t{src:"img/icon-widget-results.svg", width:50}
109+
%img.m-r.m-t{src:"img/icon-widget-results.svg", width:50, alt:"Widget Results"}
115110
%h4 Results
116111
%p Grid of search results
117112
.illus-sync
@@ -129,13 +124,13 @@ layout: default
129124
.col-xs-4.col-xs-offset-1
130125
%section#instantsearch-vp-1
131126
.text-center
132-
%img{src:"img/icon-ux.svg"}
127+
%img{src:"img/icon-ux.svg", alt:"UX"}
133128
%h2 Search UX done right
134129
%p Algolia strives to build the best search experience for the end users. All of the best practices we learned while implementing search on hundreds of websites are now packed into our widgets.
135130
.col-xs-4.col-xs-offset-2
136131
%section#instantsearch-vp-2
137132
.text-center
138-
%img{src:"img/icon-update.svg"}
133+
%img{src:"img/icon-update.svg", alt:"Update"}
139134
%h2 Always improving
140135
%p The instant-search experience is already deployed in hundreds of websites. We inject all the feedback and collective experience we get back into the widgets.
141136
.spacer100

0 commit comments

Comments
 (0)