Skip to content

Commit a48cdd5

Browse files
committed
Merge pull request railsbridge#449 from tastycode/358-alt-text-accessibility
[railsbridge#358] Add alt-text for accessibility on installfest
2 parents d980012 + 2aaba5a commit a48cdd5

File tree

4 files changed

+16
-25
lines changed

4 files changed

+16
-25
lines changed

sites/en/installfest/_install_sublime_text_2_for_mac.step

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ step 'Select "Open with DiskImageMounter" in the file save dialog' do
1515

1616
message "It will open an installer with a Sublime Text 2 icon and a picture of your Applications folder. Something like this:"
1717

18-
img src: 'img/install_sublime_text.png'
18+
img src: 'img/install_sublime_text.png', alt: 'Contents of the sublime text package showing a sublime text icon and a shortcut to applications'
1919

2020
end
2121

sites/en/installfest/create_a_rails_app.step

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,9 @@ step "Create a new Rails app" do
5656
message "If it does, congratulations! You've successfully installed Ruby AND Rails and started your server."
5757

5858
tip "If it doesn't work, ask a TA for help."
59-
59+
message "* In your browser, go to <http://localhost:3000>"
60+
img src: "img/successful_rails_install.png", alt: "Screenshot of the browser on localhost 3000 showing the rails intro page"
6061
message <<-MARKDOWN
61-
* In your browser, go to <http://localhost:3000>
62-
63-
![Successful Rails Install](img/successful_rails_install.png)
6462

6563
* Back in the Terminal window where you ran <code>rails server</code>, type **Control-C** (don't type this into the console, but hold the Control and C keys at the same time) to kill(stop) the server. Windows will ask "Terminate batch job (Y/N)?". Type "Y".
6664
MARKDOWN
@@ -95,7 +93,7 @@ step "Generate a database model" do
9593

9694
(The window where you ran `rails server` will display debugging information as you do this.)
9795

98-
You should see: ![Drink was successfully created](img/get_a_sticker_you_should_see.png)
96+
You should see: ![Screenshot of the drink detail page](img/get_a_sticker_you_should_see.png)
9997

10098
In your terminal, Hold Control and hit C (or on Windows, Control-Break, Y) to stop the rails server.
10199
MARKDOWN

sites/en/installfest/install_xcode_from_app_store.step

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ step "Launch XCode"
1414
step "Install the Command Line Tools" do
1515
message "Open the Preferences menu and select the Downloads tab."
1616
message "Then click the 'Install' button next to 'Command Line Tools'."
17-
img src: 'img/xcode-prefs.jpg', alt: 'XCode Preferences'
17+
img src: 'img/xcode-prefs.jpg', alt: 'XCode Preferences showing the location of the install button for command line tools'
1818
end
1919

sites/en/installfest/windows.step

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,14 @@ You may need to login as Administrator, or give the Administrator password when
55
MARKDOWN
66

77
step "Run RailsInstaller" do
8+
message "RailsInstaller includes Rails, Ruby, Git and SQLite."
9+
message "Go to <http://railsinstaller.org/>, scroll to the 'Downloads' section, and download the RailsInstaller for Windows/Ruby 2.1."
10+
message "Click on the downloaded file to run the install wizard. Click Next at each step to accept the defaults."
11+
message "Be sure to check the boxes for *Install git (recommended)* and *Add executables for Ruby, DevKit Git (if checked above) to the PATH*"
812

9-
message <<-MARKDOWN
10-
RailsInstaller includes Rails, Ruby, Git, and SQLite.
13+
img src: "img/WinRailsInstaller.jpg", alt: "Screenshot showing location of checkboxes for ensuring that Git is installed"
1114

12-
Go to <http://railsinstaller.org/>, scroll to the 'Downloads' section, and download the RailsInstaller for Windows/Ruby 2.1.
13-
14-
Click on the downloaded file to run the install wizard. Click Next at each step to accept the defaults.
15-
16-
Be sure to check the boxes for *Install git (recommended)* and *Add executables for Ruby, DevKit Git (if checked above) to the PATH*
17-
18-
![WinRailsInstaller.jpg](img/WinRailsInstaller.jpg)
19-
20-
Rails will be installed in C:\\RailsInstaller and the directory for your Rails projects will be C:\\Sites
21-
22-
MARKDOWN
15+
message "Rails will be installed in C:\\RailsInstaller and the directory for your Rails projects will be C:\\Sites"
2316
end
2417

2518
step "Configure your git and ssh environment" do
@@ -40,7 +33,7 @@ step "Configure your git and ssh environment" do
4033

4134
message "Here is a summary of your settings after this process:"
4235

43-
img src: 'img/railsbridge_windowsScreenshot-commandprompt_ror.png'
36+
img src: 'img/railsbridge_windowsScreenshot-commandprompt_ror.png', alt: "Screenshot showing correct git, ruby, rails and ssh settings"
4437

4538
message "Close the command prompt window."
4639
end
@@ -53,13 +46,13 @@ step "Update Git" do
5346

5447
message "Run the installer, and it will ask you where you want to install it. Change it FROM C:\\Program Files\\Git TO, C:\\RailsInstaller\\Git like the picture below."
5548

56-
img src: 'img/directory.png'
49+
img src: 'img/directory.png', alt: "Screenshot showing the step of installation where the location to install git is set"
5750

5851
message "It will warn you that the directory already exists. Click yes to install to that folder anyway."
5952

6053
message "Click next twice, and select, Use Git from the Windows Command Prompt."
6154

62-
img src: 'img/command.png'
55+
img src: 'img/command.png', alt: "Screenshot showing location choice to use git from Windows Command Prompt"
6356

6457
message "Keep going and you'll have the latest version of Git installed!"
6558

@@ -76,11 +69,11 @@ step "Open a Terminal" do
7669

7770
div do
7871
option_half "Windows 7" do
79-
img src: 'img/railsbridge_windows_findingCommandPrompt_win7.png'
72+
img src: 'img/railsbridge_windows_findingCommandPrompt_win7.png', alt: "Screenshot showing search for command prompt"
8073
end
8174

8275
option_half "Windows 8" do
83-
img src: 'img/railsbridge_windows_findingCommandPrompt_win8.png'
76+
img src: 'img/railsbridge_windows_findingCommandPrompt_win8.png', alt: "Screenshot showing search for command prompt"
8477
end
8578
end
8679

0 commit comments

Comments
 (0)