Skip to content

Commit

Permalink
chore(docs): fix spider section intro
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Apr 6, 2024
1 parent 10480a0 commit 4862f97
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ use accessibility_rs::{audit, AuditConfig};

fn main() {
let html = r###"<html lang="en">
<body>
<body>
<a href="routes.html">
<img src="topo.gif">
Golf
</a>
</body>
</a>
</body>
</html>"###;
let css = "";
// pass in raw html, optional css, bounding box clips, and locale for audit
Expand All @@ -41,13 +41,13 @@ use tokio;

#[tokio::main]
async fn main() {
let html = r###"<html lang="en">
<body>
let html = r###"<html lang="en">
<body>
<a href="routes.html">
<img src="topo.gif">
Golf
</a>
</body>
</a>
</body>
</html>"###;
let css = "";
// pass in raw html, optional css, bounding box clips, and locale for audit
Expand All @@ -69,14 +69,11 @@ use tokio;

#[tokio::main]
async fn main() {
let css = "";
// pass in raw html, optional css, bounding box clips, and locale for audit
let audit = accessibility_rs::audit(&AuditConfig::new_website(&"https://choosealicense.com".into())).await;
println!("{:?}", audit);
}
```


### Documentation

[Module documentation with examples](https://docs.rs/accessibility-rs).
Expand Down

0 comments on commit 4862f97

Please sign in to comment.