隐藏图片库的文本 - SEO 影响

发布于 2024-10-07 18:34:49 字数 233 浏览 2 评论 0原文

所以我使用 jquery 创建了一个动态照片库。它基本上是一张大图像,右侧附有描述性文字,底部有一条胶片。我对幻灯片进行了结构化,以便每个缩略图都附有其隐藏的描述性文本,并且当单击缩略图时,jquery 会使用隐藏文本更新主文本区域。

在研究 SEO 技术之前我做了这一切,现在我不确定这种技术是否会对我不利。我真的不想重做一切。我听到过相互矛盾的建议,有人说隐藏文本总是不好,有人说“意图”才是重要的。

我应该怎么办?

So i've created a dynamic photo gallery using jquery. Its basically a large image with accompanying descriptive text to the right and a film strip running across the bottom. I structured the filmstrip so that each thumbail is accompanied by its hidden descriptive text and jquery udpates the main text area with the hidden text when the thumbnail is clicked.

I did all this before looking into SEO techniques and now am unsure if this technique could penalize me. I really don't want to have to redo everything. I've heard conflicting advice, some say hidden text is always bad, some say its the "intent" that matters.

What should I do?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浅暮の光 2024-10-14 18:34:49

我遵循的哲学是,它既“取决于”,又真正与“意图”有关。例如,当您说您“隐藏”了描述性文本时,这取决于您的意思。如果您使用图像“alt”属性,然后使用 jQuery 将其拉入视觉描述中 - 我认为这是完全合适的。如果您使用隐藏的 div,然后在单击时显示它们或其他内容 - 这不是最干净的解决方案,但我认为这不会给您带来惩罚。

I follow the philosophy that it both "depends" and is really about "intent". For example, when you say that you have the descriptive text "hidden" it depends on what you mean by that. If you are using the images "alt" attribute and then pulling that with jQuery into a visual description - I see that as completely appropriate. If you are using hidden divs and then showing them onclick or something - it's not the cleanest solution, but I don't think it's going to bring you an penalties.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文