Skip to content

Commit 81e2102

Browse files
committed
[JIRA DEVA11Y-128] Updated README
1 parent 88fd2aa commit 81e2102

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ AccessibilityDevTools enables static accessibility linting directly inside Xcode
4747
> Note: XCode projects don’t have a Package.swift file. However, the script will manage this for you. If you prefer not to do this or face any issues, you can use our CLI for linting instead.
4848

4949
#### Clone Script
50-
Run the following command in the <span style="color:red">root of your repository</span>
50+
Run the following command at the <span style="color:red">root of your repository</span>
5151

5252
Zsh
5353
```zsh
@@ -68,7 +68,7 @@ curl -L -o browserstack-a11y-scan-spm.sh "https://raw.githubusercontent.com/brow
6868
Repeat these steps for each target in your project
6969

7070
1. Select a target from the targets left sidebar and go to Build Phases tab
71-
2. Click + to create a new build phase. Name the newly created build phase to a name such as **BrowserStack Accessibility Linter**
71+
2. Click + to create a new build phase. Name the newly created build phase to a name such as **BrowserStack Accessibility Linter**.
7272
![Build Phase](./resources/build-phase.png "Build Phase")
7373
3. Drag this newly created build phase above **Compile Sources** step
7474
4. Delete any existing code in the newly created build step and add the following code.
@@ -80,7 +80,7 @@ Xcode will now automatically run the accessibility scan during builds.
8080

8181
### 2. Projects created with Swift package manager
8282
**Register plugin as dependency in your `Package.swift` file**
83-
Edit the `Package.swift` to include following code. Specifically, add these two things
83+
Edit the `Package.swift` to include following code. Specifically, add these two things:
8484

8585
* Add `AccessibilityDevTools` as a package under dependencies
8686
* Add `a11y-scan` as a plugin under each target that you have in your project
@@ -93,7 +93,7 @@ let package = Package(
9393
// other dependencies
9494
.package(
9595
url: "https://github.com/browserstack/AccessibilityDevTools.git",
96-
from: "1.0.0"
96+
branch: "main"
9797
),
9898
],
9999
targets: [

0 commit comments

Comments
 (0)