Skip to content

Commit 7a1982d

Browse files
committed
Add alt text for img in navbar
1 parent caf9b26 commit 7a1982d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/MultiDocumenter.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,10 @@ function make_global_nav(dir, docs, thispagepath, brand_image, search_engine, pr
132132
img = Gumbo.HTMLElement{:img}(
133133
[],
134134
a,
135-
Dict("src" => relpath(joinpath(dir, brand_image.imagepath), thispagepath)),
135+
Dict(
136+
"src" => relpath(joinpath(dir, brand_image.imagepath), thispagepath),
137+
"alt" => "Home",
138+
),
136139
)
137140
push!(a.children, img)
138141
push!(nav.children, a)

0 commit comments

Comments
 (0)